syntax: Remove SyntaxExtension::DeclMacro
It's a less powerful duplicate of `SyntaxExtension::NormalTT`
This commit is contained in:
parent
edb925a91f
commit
8edbbacbca
9 changed files with 81 additions and 106 deletions
|
|
@ -1,6 +1,9 @@
|
|||
error: no rules expected the token `enum E { }`
|
||||
--> $DIR/nonterminal-matching.rs:19:10
|
||||
|
|
||||
LL | macro n(a $nt_item b) {
|
||||
| --------------------- when calling this macro
|
||||
...
|
||||
LL | n!(a $nt_item b);
|
||||
| ^^^^^^^^ no rules expected this token in macro call
|
||||
...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue