aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/codegen/rust.ungram
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-07-30 16:39:56 +0100
committerGitHub <[email protected]>2020-07-30 16:39:56 +0100
commit0c8944314cb323416c8ad6ad27347ca056c5a91c (patch)
tree2a31c4bdfb62fe00b5109366155b0b4a40bf471d /xtask/src/codegen/rust.ungram
parent2496628c56415f4456803e4487f90bad96337d57 (diff)
parent1ae4721c9cfea746fce59a816b1c266bf373d6cf (diff)
Merge #5601
5601: Finalize union grammar r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
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