diff options
author | Aleksey Kladov <[email protected]> | 2019-02-25 10:38:52 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-02-25 10:49:32 +0000 |
commit | 78f10fcdc41d5c58e386bc99a94b34a2bdbaa4cd (patch) | |
tree | d813eb7be81dadbeced5ea0cf056d974cfd0fea5 /crates/ra_parser/src/grammar | |
parent | 7ffff9c74caae108db53366e3b90857b7c405c6c (diff) |
rename type to type_alias in the AST as well
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); |