about summary refs log tree commit diff
path: root/tests/ui/attributes/unsafe/double-unsafe-attributes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/attributes/unsafe/double-unsafe-attributes.rs')
-rw-r--r--tests/ui/attributes/unsafe/double-unsafe-attributes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/attributes/unsafe/double-unsafe-attributes.rs b/tests/ui/attributes/unsafe/double-unsafe-attributes.rs
index 894d1327da7..c0181d96053 100644
--- a/tests/ui/attributes/unsafe/double-unsafe-attributes.rs
+++ b/tests/ui/attributes/unsafe/double-unsafe-attributes.rs
@@ -1,7 +1,7 @@
 #[unsafe(unsafe(no_mangle))]
 //~^ ERROR expected identifier, found keyword `unsafe`
 //~| ERROR cannot find attribute `r#unsafe` in this scope
-//~| ERROR `r#unsafe` is not an unsafe attribute
+//~| ERROR unnecessary `unsafe`
 fn a() {}
 
 fn main() {}