mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Finalize union grammar
This commit is contained in:
parent
8ddbf06e39
commit
1ae4721c9c
23 changed files with 51 additions and 51 deletions
|
@ -16,7 +16,7 @@ Item =
|
|||
| StructDef
|
||||
| TraitDef
|
||||
| TypeAlias
|
||||
| UnionDef
|
||||
| Union
|
||||
| Use
|
||||
|
||||
Module =
|
||||
|
@ -98,7 +98,7 @@ FieldList =
|
|||
RecordFieldList
|
||||
| TupleFieldList
|
||||
|
||||
UnionDef =
|
||||
Union =
|
||||
Attr* Visibility? 'union' Name GenericParamList? WhereClause?
|
||||
RecordFieldList
|
||||
|
||||
|
@ -455,7 +455,7 @@ MetaItem =
|
|||
AdtDef =
|
||||
StructDef
|
||||
| EnumDef
|
||||
| UnionDef
|
||||
| Union
|
||||
|
||||
TypeRef =
|
||||
ParenType
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue