diff options
| author | bors <bors@rust-lang.org> | 2025-03-21 08:06:38 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-03-21 08:06:38 +0000 |
| commit | 4ac032f857b46037b55c1fc0fa702450aad37f43 (patch) | |
| tree | 56a0c760a8fb9c2cb283abdae6dcb7e284feacfd /tests | |
| parent | 5d85a714b10a9121d2ec5115f39e904174f804e1 (diff) | |
| parent | 5ba395a98bfab0f9025ebf477ece0d58c396ba60 (diff) | |
| download | rust-4ac032f857b46037b55c1fc0fa702450aad37f43.tar.gz rust-4ac032f857b46037b55c1fc0fa702450aad37f43.zip | |
Auto merge of #138768 - matthiaskrgr:rollup-nfu3cm3, r=matthiaskrgr
Rollup of 8 pull requests Successful merges: - #137357 (Document results of non-positive logarithms) - #138650 (Optimize `io::Write::write_fmt` for constant strings) - #138694 (Fix: add ohos target notes) - #138713 (interpret memory access hooks: also pass through the Pointer used for the access) - #138724 (Check attrs: Don't try to retrieve the name of list stems) - #138743 (bootstrap: add `--ci` flag) - #138751 (Fix the "used_with_archive" test on Fuchsia) - #138754 (Handle spans of `~const`, `const` and `async` trait bounds in macro expansion) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ui/attributes/auxiliary/used_pre_main_constructor.rs | 1 | ||||
| -rw-r--r-- | tests/ui/rustdoc/doc-alias-use-item-list-stem.rs | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/attributes/auxiliary/used_pre_main_constructor.rs b/tests/ui/attributes/auxiliary/used_pre_main_constructor.rs index d94572ef5d6..8ea7a9cb4b5 100644 --- a/tests/ui/attributes/auxiliary/used_pre_main_constructor.rs +++ b/tests/ui/attributes/auxiliary/used_pre_main_constructor.rs @@ -19,6 +19,7 @@ target_os = "netbsd", target_os = "nto", target_os = "openbsd", + target_os = "fuchsia", ), link_section = ".init_array" )] diff --git a/tests/ui/rustdoc/doc-alias-use-item-list-stem.rs b/tests/ui/rustdoc/doc-alias-use-item-list-stem.rs new file mode 100644 index 00000000000..ef310843e21 --- /dev/null +++ b/tests/ui/rustdoc/doc-alias-use-item-list-stem.rs @@ -0,0 +1,11 @@ +// Check that we don't ICE on `#[doc(alias)]`es placed on use items with list stems. +// issue: <https://github.com/rust-lang/rust/issues/138723> +//@ check-pass + +#[doc(alias = "empty")] +pub use {}; + +#[doc(alias = "id")] +pub use {std::convert::identity}; + +fn main() {} |
