summaryrefslogtreecommitdiffstats
path: root/src/test/ui/proc-macro/proc-macro-gates2.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/proc-macro/proc-macro-gates2.stderr14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/ui/proc-macro/proc-macro-gates2.stderr b/src/test/ui/proc-macro/proc-macro-gates2.stderr
new file mode 100644
index 000000000..64df34e7c
--- /dev/null
+++ b/src/test/ui/proc-macro/proc-macro-gates2.stderr
@@ -0,0 +1,14 @@
+error: expected non-macro attribute, found attribute macro `empty_attr`
+ --> $DIR/proc-macro-gates2.rs:12:13
+ |
+LL | fn _test6<#[empty_attr] T>() {}
+ | ^^^^^^^^^^ not a non-macro attribute
+
+error: expected non-macro attribute, found attribute macro `empty_attr`
+ --> $DIR/proc-macro-gates2.rs:17:11
+ |
+LL | #[empty_attr]
+ | ^^^^^^^^^^ not a non-macro attribute
+
+error: aborting due to 2 previous errors
+