fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
536 B16 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   |
13   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
14
15error: aborting due to previous error
16