diff options
Diffstat (limited to 'crates/ra_syntax/src/grammar.ron')
-rw-r--r-- | crates/ra_syntax/src/grammar.ron | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron index b1775d0f8..c7acbbd6c 100644 --- a/crates/ra_syntax/src/grammar.ron +++ b/crates/ra_syntax/src/grammar.ron | |||
@@ -132,7 +132,7 @@ Grammar( | |||
132 | "CONST_DEF", | 132 | "CONST_DEF", |
133 | "TRAIT_DEF", | 133 | "TRAIT_DEF", |
134 | "IMPL_BLOCK", | 134 | "IMPL_BLOCK", |
135 | "TYPE_DEF", | 135 | "TYPE_ALIAS_DEF", |
136 | "MACRO_CALL", | 136 | "MACRO_CALL", |
137 | "TOKEN_TREE", | 137 | "TOKEN_TREE", |
138 | 138 | ||
@@ -312,7 +312,7 @@ Grammar( | |||
312 | ], | 312 | ], |
313 | options: ["TypeRef"] | 313 | options: ["TypeRef"] |
314 | ), | 314 | ), |
315 | "TypeDef": ( | 315 | "TypeAliasDef": ( |
316 | traits: [ | 316 | traits: [ |
317 | "VisibilityOwner", | 317 | "VisibilityOwner", |
318 | "NameOwner", | 318 | "NameOwner", |
@@ -363,11 +363,11 @@ Grammar( | |||
363 | ], | 363 | ], |
364 | ), | 364 | ), |
365 | "ModuleItem": ( | 365 | "ModuleItem": ( |
366 | enum: ["StructDef", "EnumDef", "FnDef", "TraitDef", "TypeDef", "ImplBlock", | 366 | enum: ["StructDef", "EnumDef", "FnDef", "TraitDef", "TypeAliasDef", "ImplBlock", |
367 | "UseItem", "ExternCrateItem", "ConstDef", "StaticDef", "Module" ] | 367 | "UseItem", "ExternCrateItem", "ConstDef", "StaticDef", "Module" ] |
368 | ), | 368 | ), |
369 | "ImplItem": ( | 369 | "ImplItem": ( |
370 | enum: ["FnDef", "TypeDef", "ConstDef"] | 370 | enum: ["FnDef", "TypeAliasDef", "ConstDef"] |
371 | ), | 371 | ), |
372 | 372 | ||
373 | "TupleExpr": ( | 373 | "TupleExpr": ( |