about summary refs log tree commit diff
path: root/tests/ui/attributes/unsafe/proc-unsafe-attributes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/attributes/unsafe/proc-unsafe-attributes.rs')
-rw-r--r--tests/ui/attributes/unsafe/proc-unsafe-attributes.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/attributes/unsafe/proc-unsafe-attributes.rs b/tests/ui/attributes/unsafe/proc-unsafe-attributes.rs
index 2f17d9620b4..bd136e64d3f 100644
--- a/tests/ui/attributes/unsafe/proc-unsafe-attributes.rs
+++ b/tests/ui/attributes/unsafe/proc-unsafe-attributes.rs
@@ -12,6 +12,7 @@ pub fn b() {}
 #[proc_macro_derive(unsafe(Foo))]
 //~^ ERROR attribute is only usable with crates of the `proc-macro` crate type
 //~| ERROR: expected identifier, found keyword `unsafe`
+//~| ERROR malformed `proc_macro_derive` attribute input
 pub fn c() {}
 
 #[unsafe(proc_macro_attribute)]