Unnamed repository; edit this file 'description' to name the repository.
-rw-r--r--lib/ungrammar/rust.ungram9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/ungrammar/rust.ungram b/lib/ungrammar/rust.ungram
index 4dbf43c7bd..3d2e189edf 100644
--- a/lib/ungrammar/rust.ungram
+++ b/lib/ungrammar/rust.ungram
@@ -90,7 +90,7 @@ Item =
| ExternCrate
| Fn
| Impl
-| MacroItem
+| MacroCall
| MacroRules
| MacroDef
| Module
@@ -101,9 +101,6 @@ Item =
| Union
| Use
-MacroItem =
- MacroCall
-
MacroRules =
Attr* Visibility?
'macro_rules' '!' Name
@@ -251,7 +248,7 @@ AssocItemList =
AssocItem =
Const
| Fn
-| MacroItem
+| MacroCall
| TypeAlias
Impl =
@@ -268,7 +265,7 @@ ExternItemList =
ExternItem =
Fn
-| MacroItem
+| MacroCall
| Static
| TypeAlias