Skip to content

Rollup of 10 pull requests #121701

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 26 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
a0fcc8e
Add `display` method to `OsStr`
riverbl Jan 7, 2024
69b68e2
Remove the `UntranslatableDiagnosticTrivial` lint.
nnethercote Feb 5, 2024
e060274
tests: Fix typo unix_sigpipe-error.rs -> unix_sigpipe-sig_ign.rs
Enselic Feb 9, 2024
a1cb3db
tests: Rename unix_sigpipe.rs to unix_sigpipe-bare.rs for clarity
Enselic Feb 9, 2024
d14f158
tests: Combine unix_sigpipe-not-used.rs and unix_sigpipe-only-feature.rs
Enselic Feb 9, 2024
948b1d6
tests: Add unix_sigpipe-different-duplicates.rs test variant
Enselic Feb 9, 2024
0da1b71
Add test case for primitive links in alias js
notriddle Feb 24, 2024
3bcef2d
Fix issues in suggesting importing extern crate paths
chenyukang Feb 17, 2024
03a10a9
Changing some attributes to only_local.
surechen Feb 27, 2024
8719b74
Fix link generation for locate foreign macro in jump to definition fe…
GuillaumeGomez Feb 27, 2024
4dd05e6
Add regression test for link generation on foreign macro in jump to d…
GuillaumeGomez Feb 27, 2024
5df9593
Prevent inclusion of whitespace character after macro_rules ident
GuillaumeGomez Feb 27, 2024
1feef44
rename RPITIT from opaque to synthetic
compiler-errors Feb 27, 2024
b57ddfe
Print RPITIT like an opaque
compiler-errors Feb 27, 2024
8a6d353
Split rustc_type_ir to avoid rustc_ast from depending on it
oli-obk Feb 27, 2024
e9dbf44
Add regression test for inclusion of whitespace characters in rustdoc…
GuillaumeGomez Feb 27, 2024
7568d9a
Rollup merge of #120051 - riverbl:os-str-display, r=m-ou-se
matthiaskrgr Feb 27, 2024
6f87759
Rollup merge of #121226 - chenyukang:yukang-fix-import-alias, r=david…
matthiaskrgr Feb 27, 2024
87c1afb
Rollup merge of #121423 - nnethercote:rm-UntranslatableDiagnosticTriv…
matthiaskrgr Feb 27, 2024
613643f
Rollup merge of #121527 - Enselic:unix_sigpipe-tests-fixes, r=davidtwco
matthiaskrgr Feb 27, 2024
d4f9837
Rollup merge of #121572 - notriddle:notriddle/test-case-121106, r=Gui…
matthiaskrgr Feb 27, 2024
17e9709
Rollup merge of #121661 - surechen:change_attribute_to_local_20240226…
matthiaskrgr Feb 27, 2024
489226e
Rollup merge of #121680 - GuillaumeGomez:foreign-macro-jump-to-def, r…
matthiaskrgr Feb 27, 2024
3628a67
Rollup merge of #121686 - compiler-errors:rpitit-printing, r=lcnr
matthiaskrgr Feb 27, 2024
9897a95
Rollup merge of #121689 - GuillaumeGomez:rustdoc-highlighting-whitesp…
matthiaskrgr Feb 27, 2024
1febb57
Rollup merge of #121695 - oli-obk:split_ty_utils, r=compiler-errors
matthiaskrgr Feb 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add regression test for link generation on foreign macro in jump to d…
…efintion feature
  • Loading branch information
GuillaumeGomez committed Feb 27, 2024
commit 4dd05e642403451fbe6b8db8845b2d04f0a14bbd
6 changes: 6 additions & 0 deletions tests/rustdoc/auxiliary/jump-to-def-macro.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#[macro_export]
macro_rules! symbols {
($name:ident = $value:expr) => {
pub const $name: isize = $value;
}
}
15 changes: 15 additions & 0 deletions tests/rustdoc/jump-to-def-macro.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
//@ aux-build:jump-to-def-macro.rs
//@ build-aux-docs
//@ compile-flags: -Zunstable-options --generate-link-to-definition

#![crate_name = "foo"]

// @has 'src/foo/jump-to-def-macro.rs.html'

#[macro_use]
extern crate jump_to_def_macro;

// @has - '//a[@href="../../jump_to_def_macro/macro.symbols.html"]' 'symbols!'
symbols! {
A = 12
}