summaryrefslogtreecommitdiffstats
path: root/src/test/ui/deprecation/issue-66340-deprecated-attr-non-meta-grammar.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/deprecation/issue-66340-deprecated-attr-non-meta-grammar.stderr')
-rw-r--r--src/test/ui/deprecation/issue-66340-deprecated-attr-non-meta-grammar.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/deprecation/issue-66340-deprecated-attr-non-meta-grammar.stderr b/src/test/ui/deprecation/issue-66340-deprecated-attr-non-meta-grammar.stderr
new file mode 100644
index 000000000..24178faf8
--- /dev/null
+++ b/src/test/ui/deprecation/issue-66340-deprecated-attr-non-meta-grammar.stderr
@@ -0,0 +1,8 @@
+error: expected unsuffixed literal or identifier, found `test`
+ --> $DIR/issue-66340-deprecated-attr-non-meta-grammar.rs:9:21
+ |
+LL | #[deprecated(note = test)]
+ | ^^^^
+
+error: aborting due to previous error
+