summaryrefslogtreecommitdiffstats
path: root/src/test/ui/proc-macro/keep-expr-tokens.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/proc-macro/keep-expr-tokens.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/ui/proc-macro/keep-expr-tokens.stderr b/src/test/ui/proc-macro/keep-expr-tokens.stderr
new file mode 100644
index 000000000..11052d11c
--- /dev/null
+++ b/src/test/ui/proc-macro/keep-expr-tokens.stderr
@@ -0,0 +1,15 @@
+error[E0425]: cannot find function `missing_fn` in this scope
+ --> $DIR/keep-expr-tokens.rs:17:17
+ |
+LL | for item in missing_fn() {}
+ | ^^^^^^^^^^ not found in this scope
+
+error[E0425]: cannot find value `bad` in this scope
+ --> $DIR/keep-expr-tokens.rs:19:62
+ |
+LL | (#[recollect_attr] #[recollect_attr] ((#[recollect_attr] bad)));
+ | ^^^ not found in this scope
+
+error: aborting due to 2 previous errors
+
+For more information about this error, try `rustc --explain E0425`.