diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-02-25 10:51:37 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-02-25 10:51:37 +0000 |
commit | cec637a3a91f0a34989dfde15ea853bbe8dc8a53 (patch) | |
tree | d813eb7be81dadbeced5ea0cf056d974cfd0fea5 /crates/ra_parser/src/grammar/items.rs | |
parent | 7ffff9c74caae108db53366e3b90857b7c405c6c (diff) | |
parent | 78f10fcdc41d5c58e386bc99a94b34a2bdbaa4cd (diff) |
Merge #898
898: rename type to type_alias in the AST as well r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_parser/src/grammar/items.rs')
-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); |