rust/src/test/ui/macros/nonterminal-matching.stderr

12 lines
383 B
Plaintext
Raw Normal View History

error: no rules expected the token `enum E { }`
2018-12-25 09:56:47 -06:00
--> $DIR/nonterminal-matching.rs:19:10
|
LL | n!(a $nt_item b); //~ ERROR no rules expected the token `enum E { }`
| ^^^^^^^^ no rules expected this token in macro call
...
LL | complex_nonterminal!(enum E {});
| -------------------------------- in this macro invocation
error: aborting due to previous error