aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/codegen
diff options
context:
space:
mode:
Diffstat (limited to 'xtask/src/codegen')
-rw-r--r--xtask/src/codegen/rust.ungram11
1 files changed, 7 insertions, 4 deletions
diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram
index b30658397..cda0e8fbb 100644
--- a/xtask/src/codegen/rust.ungram
+++ b/xtask/src/codegen/rust.ungram
@@ -9,7 +9,7 @@ Item =
9| ExternBlock 9| ExternBlock
10| ExternCrate 10| ExternCrate
11| Fn 11| Fn
12| ImplDef 12| Impl
13| MacroCall 13| MacroCall
14| Module 14| Module
15| Static 15| Static
@@ -131,9 +131,12 @@ Trait =
131AssocItemList = 131AssocItemList =
132 '{' AssocItem* '}' 132 '{' AssocItem* '}'
133 133
134ImplDef = 134Impl =
135 Attr* Visibility? 'const'? 'default'? 'unsafe'? 'impl' GenericParamList? '!'? 'for' 135 Attr* Visibility?
136 WhereClause? 136 'default'? 'unsafe'? 'impl' 'const'? GenericParamList? (
137 TypeRef
138 | '!'? TypeRef 'for' TypeRef
139 ) WhereClause?
137 AssocItemList 140 AssocItemList
138 141
139ParenType = 142ParenType =