diff options
| author | Predrag Gruevski <obi1kenobi82@gmail.com> | 2025-07-23 00:00:01 +0000 |
|---|---|---|
| committer | Predrag Gruevski <obi1kenobi82@gmail.com> | 2025-07-23 00:00:01 +0000 |
| commit | 45231fa599583edc95843aaa4f23b12f762e01e7 (patch) | |
| tree | 9e19d84d3e27be22aac1ae218602ec7daa890669 /tests/rustdoc/attributes-re-export.rs | |
| parent | a7a1618e6c835f1f00940ad72203d05808209a0d (diff) | |
| download | rust-45231fa599583edc95843aaa4f23b12f762e01e7.tar.gz rust-45231fa599583edc95843aaa4f23b12f762e01e7.zip | |
[rustdoc] Display unsafe attrs with edition 2024 `unsafe()` wrappers.
Diffstat (limited to 'tests/rustdoc/attributes-re-export.rs')
| -rw-r--r-- | tests/rustdoc/attributes-re-export.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc/attributes-re-export.rs b/tests/rustdoc/attributes-re-export.rs index 458826ea8a3..820276f83c0 100644 --- a/tests/rustdoc/attributes-re-export.rs +++ b/tests/rustdoc/attributes-re-export.rs @@ -2,7 +2,7 @@ //@ edition:2021 #![crate_name = "re_export"] -//@ has 're_export/fn.thingy2.html' '//pre[@class="rust item-decl"]' '#[no_mangle]' +//@ has 're_export/fn.thingy2.html' '//pre[@class="rust item-decl"]' '#[unsafe(no_mangle)]' pub use thingymod::thingy as thingy2; mod thingymod { |
