summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/unused/unused-macro-with-bad-frag-spec.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/lint/unused/unused-macro-with-bad-frag-spec.stderr')
-rw-r--r--src/test/ui/lint/unused/unused-macro-with-bad-frag-spec.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/ui/lint/unused/unused-macro-with-bad-frag-spec.stderr b/src/test/ui/lint/unused/unused-macro-with-bad-frag-spec.stderr
new file mode 100644
index 000000000..6edf0a2cf
--- /dev/null
+++ b/src/test/ui/lint/unused/unused-macro-with-bad-frag-spec.stderr
@@ -0,0 +1,10 @@
+error: invalid fragment specifier `t_ty`
+ --> $DIR/unused-macro-with-bad-frag-spec.rs:6:6
+ |
+LL | ($wrong:t_ty) => ()
+ | ^^^^^^^^^^^
+ |
+ = help: valid fragment specifiers are `ident`, `block`, `stmt`, `expr`, `pat`, `ty`, `lifetime`, `literal`, `path`, `meta`, `tt`, `item` and `vis`
+
+error: aborting due to previous error
+