fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
424 B14 linesraw
1error: no rules expected the token `enum E { }`
2  --> $DIR/nonterminal-matching.rs:19:10
3   |
4LL |     macro n(a $nt_item b) {
5   |     --------------------- when calling this macro
6...
7LL |     n!(a $nt_item b);
8   |          ^^^^^^^^ no rules expected this token in macro call
9...
10LL | complex_nonterminal!(enum E {});
11   | -------------------------------- in this macro invocation
12
13error: aborting due to previous error
14