about summary refs log tree commit diff
path: root/tests/ui/attributes/z-crate-attr/inner-attr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/attributes/z-crate-attr/inner-attr.rs')
-rw-r--r--tests/ui/attributes/z-crate-attr/inner-attr.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ui/attributes/z-crate-attr/inner-attr.rs b/tests/ui/attributes/z-crate-attr/inner-attr.rs
index 522c906dcd8..47ecad70062 100644
--- a/tests/ui/attributes/z-crate-attr/inner-attr.rs
+++ b/tests/ui/attributes/z-crate-attr/inner-attr.rs
@@ -1,4 +1,5 @@
 //@ compile-flags: -Zcrate-attr=#![feature(foo)]
-//@ error-pattern:expected identifier
 
 fn main() {}
+
+//~? ERROR expected identifier, found `#`