summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/nonterminal-matching.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/macros/nonterminal-matching.stderr4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ui/macros/nonterminal-matching.stderr b/tests/ui/macros/nonterminal-matching.stderr
index c2b047022..499f9a763 100644
--- a/tests/ui/macros/nonterminal-matching.stderr
+++ b/tests/ui/macros/nonterminal-matching.stderr
@@ -1,6 +1,8 @@
error: no rules expected the token `enum E {}`
--> $DIR/nonterminal-matching.rs:19:10
|
+LL | macro complex_nonterminal($nt_item: item) {
+ | --------------
LL | macro n(a $nt_item b) {
| --------------------- when calling this macro
...
@@ -23,5 +25,5 @@ LL | complex_nonterminal!(enum E {});
= help: try using `:tt` instead in the macro definition
= note: this error originates in the macro `complex_nonterminal` (in Nightly builds, run with -Z macro-backtrace for more info)
-error: aborting due to previous error
+error: aborting due to 1 previous error