aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/codegen/rust.ungram
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-30 16:36:46 +0100
committerAleksey Kladov <[email protected]>2020-07-30 16:38:52 +0100
commit1ae4721c9cfea746fce59a816b1c266bf373d6cf (patch)
tree2a31c4bdfb62fe00b5109366155b0b4a40bf471d /xtask/src/codegen/rust.ungram
parent8ddbf06e39a13ed3f45e57d77727b7a35cec1749 (diff)
Finalize union grammar
Diffstat (limited to 'xtask/src/codegen/rust.ungram')
-rw-r--r--xtask/src/codegen/rust.ungram6
1 files changed, 3 insertions, 3 deletions
diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram
index 28b50f021..65082f3d9 100644
--- a/xtask/src/codegen/rust.ungram
+++ b/xtask/src/codegen/rust.ungram
@@ -16,7 +16,7 @@ Item =
16| StructDef 16| StructDef
17| TraitDef 17| TraitDef
18| TypeAlias 18| TypeAlias
19| UnionDef 19| Union
20| Use 20| Use
21 21
22Module = 22Module =
@@ -98,7 +98,7 @@ FieldList =
98 RecordFieldList 98 RecordFieldList
99| TupleFieldList 99| TupleFieldList
100 100
101UnionDef = 101Union =
102 Attr* Visibility? 'union' Name GenericParamList? WhereClause? 102 Attr* Visibility? 'union' Name GenericParamList? WhereClause?
103 RecordFieldList 103 RecordFieldList
104 104
@@ -455,7 +455,7 @@ MetaItem =
455AdtDef = 455AdtDef =
456 StructDef 456 StructDef
457| EnumDef 457| EnumDef
458| UnionDef 458| Union
459 459
460TypeRef = 460TypeRef =
461 ParenType 461 ParenType