diff options
Diffstat (limited to 'xtask/src/codegen')
-rw-r--r-- | xtask/src/codegen/rust.ungram | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram index 9c6797cb7..48d4f4b4a 100644 --- a/xtask/src/codegen/rust.ungram +++ b/xtask/src/codegen/rust.ungram | |||
@@ -100,12 +100,12 @@ FieldList = | |||
100 | 100 | ||
101 | Enum = | 101 | Enum = |
102 | Attr* Visibility? 'enum' Name GenericParamList? WhereClause? | 102 | Attr* Visibility? 'enum' Name GenericParamList? WhereClause? |
103 | variant_list:EnumVariantList | 103 | VariantList |
104 | 104 | ||
105 | EnumVariantList = | 105 | VariantList = |
106 | '{' variants:EnumVariant* '}' | 106 | '{' Variant* '}' |
107 | 107 | ||
108 | EnumVariant = | 108 | Variant = |
109 | Attr* Visibility? Name FieldList ('=' Expr)? | 109 | Attr* Visibility? Name FieldList ('=' Expr)? |
110 | 110 | ||
111 | Union = | 111 | Union = |