about summary refs log tree commit diff
path: root/tests/rustdoc/attributes-re-export.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/attributes-re-export.rs')
-rw-r--r--tests/rustdoc/attributes-re-export.rs2
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 {