diff options
Diffstat (limited to 'crates/ra_syntax/src/grammar.ron')
-rw-r--r-- | crates/ra_syntax/src/grammar.ron | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron index c16bed891..d1be40abe 100644 --- a/crates/ra_syntax/src/grammar.ron +++ b/crates/ra_syntax/src/grammar.ron | |||
@@ -293,7 +293,8 @@ Grammar( | |||
293 | "TypeParamsOwner", | 293 | "TypeParamsOwner", |
294 | "AttrsOwner", | 294 | "AttrsOwner", |
295 | "DocCommentsOwner" | 295 | "DocCommentsOwner" |
296 | ] | 296 | ], |
297 | options: ["RecordFieldDefList"], | ||
297 | ), | 298 | ), |
298 | "RecordFieldDefList": (collections: [("fields", "RecordFieldDef")]), | 299 | "RecordFieldDefList": (collections: [("fields", "RecordFieldDef")]), |
299 | "RecordFieldDef": ( | 300 | "RecordFieldDef": ( |
@@ -398,7 +399,7 @@ Grammar( | |||
398 | ]), | 399 | ]), |
399 | 400 | ||
400 | "NominalDef": ( | 401 | "NominalDef": ( |
401 | enum: ["StructDef", "EnumDef"], | 402 | enum: ["StructDef", "EnumDef", "UnionDef"], |
402 | traits: [ | 403 | traits: [ |
403 | "NameOwner", | 404 | "NameOwner", |
404 | "TypeParamsOwner", | 405 | "TypeParamsOwner", |
@@ -406,9 +407,9 @@ Grammar( | |||
406 | ], | 407 | ], |
407 | ), | 408 | ), |
408 | "ModuleItem": ( | 409 | "ModuleItem": ( |
409 | enum: ["StructDef", "EnumDef", "FnDef", "TraitDef", "TypeAliasDef", "ImplBlock", | 410 | enum: ["StructDef", "UnionDef", "EnumDef", "FnDef", "TraitDef", "TypeAliasDef", "ImplBlock", |
410 | "UseItem", "ExternCrateItem", "ConstDef", "StaticDef", "Module" ], | 411 | "UseItem", "ExternCrateItem", "ConstDef", "StaticDef", "Module" ], |
411 | traits: ["AttrsOwner"] | 412 | traits: ["AttrsOwner"], |
412 | ), | 413 | ), |
413 | "ImplItem": ( | 414 | "ImplItem": ( |
414 | enum: ["FnDef", "TypeAliasDef", "ConstDef"], | 415 | enum: ["FnDef", "TypeAliasDef", "ConstDef"], |