]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/nonterminal-matching.stderr
Auto merge of #61741 - Centril:rollup-fgro5kz, r=Centril
[rust.git] / src / test / ui / macros / nonterminal-matching.stderr
1 error: no rules expected the token `enum E { }`
2   --> $DIR/nonterminal-matching.rs:19:10
3    |
4 LL |     macro n(a $nt_item b) {
5    |     --------------------- when calling this macro
6 ...
7 LL |     n!(a $nt_item b);
8    |          ^^^^^^^^ no rules expected this token in macro call
9 ...
10 LL | complex_nonterminal!(enum E {});
11    | -------------------------------- in this macro invocation
12
13 error: aborting due to previous error
14