diff options
Diffstat (limited to 'crates/ra_parser/src/grammar')
-rw-r--r-- | crates/ra_parser/src/grammar/items.rs | 2 |
1 files changed, 1 insertions, 1 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); |