summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/lifetimes.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/proc-macro/lifetimes.stderr')
-rw-r--r--tests/ui/proc-macro/lifetimes.stderr13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ui/proc-macro/lifetimes.stderr b/tests/ui/proc-macro/lifetimes.stderr
new file mode 100644
index 000000000..0c99809ed
--- /dev/null
+++ b/tests/ui/proc-macro/lifetimes.stderr
@@ -0,0 +1,13 @@
+error: expected type, found `'`
+ --> $DIR/lifetimes.rs:7:10
+ |
+LL | type A = single_quote_alone!();
+ | ^^^^^^^^^^^^^^^^^^^^^
+ | |
+ | expected type
+ | this macro call doesn't expand to a type
+ |
+ = note: this error originates in the macro `single_quote_alone` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error: aborting due to previous error
+