diff options
author | Aleksey Kladov <[email protected]> | 2019-01-24 22:31:32 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-01-24 22:31:32 +0000 |
commit | 0f2f3a21e7e624f920d182869896347af309e909 (patch) | |
tree | 8c16d0a479021c2d558a865df94eb01316a208b2 /crates/ra_syntax/src | |
parent | 00ba70a0957b8af2813940787238a733298dfa5f (diff) |
Migrate trait & type to new ids
Diffstat (limited to 'crates/ra_syntax/src')
-rw-r--r-- | crates/ra_syntax/src/ast/generated.rs | 1 | ||||
-rw-r--r-- | crates/ra_syntax/src/grammar.ron | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/crates/ra_syntax/src/ast/generated.rs b/crates/ra_syntax/src/ast/generated.rs index ac6c8a835..a207f8429 100644 --- a/crates/ra_syntax/src/ast/generated.rs +++ b/crates/ra_syntax/src/ast/generated.rs | |||
@@ -3229,6 +3229,7 @@ impl ast::VisibilityOwner for TraitDef {} | |||
3229 | impl ast::NameOwner for TraitDef {} | 3229 | impl ast::NameOwner for TraitDef {} |
3230 | impl ast::AttrsOwner for TraitDef {} | 3230 | impl ast::AttrsOwner for TraitDef {} |
3231 | impl ast::DocCommentsOwner for TraitDef {} | 3231 | impl ast::DocCommentsOwner for TraitDef {} |
3232 | impl ast::TypeParamsOwner for TraitDef {} | ||
3232 | impl TraitDef {} | 3233 | impl TraitDef {} |
3233 | 3234 | ||
3234 | // TrueKw | 3235 | // TrueKw |
diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron index c5297e46d..dedefea59 100644 --- a/crates/ra_syntax/src/grammar.ron +++ b/crates/ra_syntax/src/grammar.ron | |||
@@ -280,7 +280,7 @@ Grammar( | |||
280 | ], options: [["variant_list", "EnumVariantList"]] ), | 280 | ], options: [["variant_list", "EnumVariantList"]] ), |
281 | "EnumVariantList": ( collections: [["variants", "EnumVariant"]] ), | 281 | "EnumVariantList": ( collections: [["variants", "EnumVariant"]] ), |
282 | "EnumVariant": ( traits: ["NameOwner", "DocCommentsOwner"], options: ["Expr"] ), | 282 | "EnumVariant": ( traits: ["NameOwner", "DocCommentsOwner"], options: ["Expr"] ), |
283 | "TraitDef": ( traits: ["VisibilityOwner", "NameOwner", "AttrsOwner", "DocCommentsOwner"] ), | 283 | "TraitDef": ( traits: ["VisibilityOwner", "NameOwner", "AttrsOwner", "DocCommentsOwner", "TypeParamsOwner"] ), |
284 | "Module": ( | 284 | "Module": ( |
285 | traits: ["VisibilityOwner", "NameOwner", "AttrsOwner", "DocCommentsOwner" ], | 285 | traits: ["VisibilityOwner", "NameOwner", "AttrsOwner", "DocCommentsOwner" ], |
286 | options: [ "ItemList" ] | 286 | options: [ "ItemList" ] |
@@ -489,7 +489,7 @@ Grammar( | |||
489 | ), | 489 | ), |
490 | 490 | ||
491 | "RefPat": ( options: [ "Pat" ]), | 491 | "RefPat": ( options: [ "Pat" ]), |
492 | "BindPat": ( | 492 | "BindPat": ( |
493 | options: [ "Pat" ], | 493 | options: [ "Pat" ], |
494 | traits: ["NameOwner"] | 494 | traits: ["NameOwner"] |
495 | ), | 495 | ), |