diff options
Diffstat (limited to 'xtask/src')
-rw-r--r-- | xtask/src/ast_src.rs | 2 | ||||
-rw-r--r-- | xtask/src/codegen/rust.ungram | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index 47e9d0c21..e21618cbd 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs | |||
@@ -94,7 +94,7 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc { | |||
94 | nodes: &[ | 94 | nodes: &[ |
95 | "SOURCE_FILE", | 95 | "SOURCE_FILE", |
96 | "STRUCT_DEF", | 96 | "STRUCT_DEF", |
97 | "UNION_DEF", | 97 | "UNION", |
98 | "ENUM_DEF", | 98 | "ENUM_DEF", |
99 | "FN", | 99 | "FN", |
100 | "RET_TYPE", | 100 | "RET_TYPE", |
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 | ||
22 | Module = | 22 | Module = |
@@ -98,7 +98,7 @@ FieldList = | |||
98 | RecordFieldList | 98 | RecordFieldList |
99 | | TupleFieldList | 99 | | TupleFieldList |
100 | 100 | ||
101 | UnionDef = | 101 | Union = |
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 = | |||
455 | AdtDef = | 455 | AdtDef = |
456 | StructDef | 456 | StructDef |
457 | | EnumDef | 457 | | EnumDef |
458 | | UnionDef | 458 | | Union |
459 | 459 | ||
460 | TypeRef = | 460 | TypeRef = |
461 | ParenType | 461 | ParenType |