aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/codegen/rust.ungram
diff options
context:
space:
mode:
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 65082f3d9..d038c5c5a 100644
--- a/xtask/src/codegen/rust.ungram
+++ b/xtask/src/codegen/rust.ungram
@@ -13,7 +13,7 @@ Item =
13| MacroCall 13| MacroCall
14| Module 14| Module
15| StaticDef 15| StaticDef
16| StructDef 16| Struct
17| TraitDef 17| TraitDef
18| TypeAlias 18| TypeAlias
19| Union 19| Union
@@ -76,7 +76,7 @@ TypeAlias =
76 Attr* Visibility? 'default'? 'type' Name GenericParamList? (':' TypeBoundList?)? WhereClause? 76 Attr* Visibility? 'default'? 'type' Name GenericParamList? (':' TypeBoundList?)? WhereClause?
77 '=' TypeRef ';' 77 '=' TypeRef ';'
78 78
79StructDef = 79Struct =
80 Attr* Visibility? 'struct' Name GenericParamList? ( 80 Attr* Visibility? 'struct' Name GenericParamList? (
81 WhereClause? (RecordFieldList | ';') 81 WhereClause? (RecordFieldList | ';')
82 | TupleFieldList WhereClause? ';' 82 | TupleFieldList WhereClause? ';'
@@ -453,7 +453,7 @@ MetaItem =
453 Path '=' AttrInput nested_meta_items:MetaItem* 453 Path '=' AttrInput nested_meta_items:MetaItem*
454 454
455AdtDef = 455AdtDef =
456 StructDef 456 Struct
457| EnumDef 457| EnumDef
458| Union 458| Union
459 459