diff options
Diffstat (limited to 'crates/ra_parser')
-rw-r--r-- | crates/ra_parser/src/grammar/items.rs | 2 | ||||
-rw-r--r-- | crates/ra_parser/src/syntax_kind/generated.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_parser/src/grammar/items.rs b/crates/ra_parser/src/grammar/items.rs index 4b962c1f3..ab9d2de90 100644 --- a/crates/ra_parser/src/grammar/items.rs +++ b/crates/ra_parser/src/grammar/items.rs | |||
@@ -173,7 +173,7 @@ fn items_without_modifiers(p: &mut Parser) -> Option<SyntaxKind> { | |||
173 | } | 173 | } |
174 | TYPE_KW => { | 174 | TYPE_KW => { |
175 | type_def(p); | 175 | type_def(p); |
176 | TYPE_DEF | 176 | TYPE_ALIAS_DEF |
177 | } | 177 | } |
178 | MOD_KW => { | 178 | MOD_KW => { |
179 | mod_item(p); | 179 | mod_item(p); |
diff --git a/crates/ra_parser/src/syntax_kind/generated.rs b/crates/ra_parser/src/syntax_kind/generated.rs index 1d8f988ae..0eed44ecf 100644 --- a/crates/ra_parser/src/syntax_kind/generated.rs +++ b/crates/ra_parser/src/syntax_kind/generated.rs | |||
@@ -130,7 +130,7 @@ pub enum SyntaxKind { | |||
130 | CONST_DEF, | 130 | CONST_DEF, |
131 | TRAIT_DEF, | 131 | TRAIT_DEF, |
132 | IMPL_BLOCK, | 132 | IMPL_BLOCK, |
133 | TYPE_DEF, | 133 | TYPE_ALIAS_DEF, |
134 | MACRO_CALL, | 134 | MACRO_CALL, |
135 | TOKEN_TREE, | 135 | TOKEN_TREE, |
136 | PAREN_TYPE, | 136 | PAREN_TYPE, |
@@ -467,7 +467,7 @@ impl SyntaxKind { | |||
467 | CONST_DEF => &SyntaxInfo { name: "CONST_DEF" }, | 467 | CONST_DEF => &SyntaxInfo { name: "CONST_DEF" }, |
468 | TRAIT_DEF => &SyntaxInfo { name: "TRAIT_DEF" }, | 468 | TRAIT_DEF => &SyntaxInfo { name: "TRAIT_DEF" }, |
469 | IMPL_BLOCK => &SyntaxInfo { name: "IMPL_BLOCK" }, | 469 | IMPL_BLOCK => &SyntaxInfo { name: "IMPL_BLOCK" }, |
470 | TYPE_DEF => &SyntaxInfo { name: "TYPE_DEF" }, | 470 | TYPE_ALIAS_DEF => &SyntaxInfo { name: "TYPE_ALIAS_DEF" }, |
471 | MACRO_CALL => &SyntaxInfo { name: "MACRO_CALL" }, | 471 | MACRO_CALL => &SyntaxInfo { name: "MACRO_CALL" }, |
472 | TOKEN_TREE => &SyntaxInfo { name: "TOKEN_TREE" }, | 472 | TOKEN_TREE => &SyntaxInfo { name: "TOKEN_TREE" }, |
473 | PAREN_TYPE => &SyntaxInfo { name: "PAREN_TYPE" }, | 473 | PAREN_TYPE => &SyntaxInfo { name: "PAREN_TYPE" }, |