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_hir/src/impl_block.rs | |
parent | 7ffff9c74caae108db53366e3b90857b7c405c6c (diff) |
rename type to type_alias in the AST as well
Diffstat (limited to 'crates/ra_hir/src/impl_block.rs')
-rw-r--r-- | crates/ra_hir/src/impl_block.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/impl_block.rs b/crates/ra_hir/src/impl_block.rs index 2f3c916fd..eb2d4ed8d 100644 --- a/crates/ra_hir/src/impl_block.rs +++ b/crates/ra_hir/src/impl_block.rs | |||
@@ -137,7 +137,7 @@ impl ImplData { | |||
137 | .map(|item_node| match item_node.kind() { | 137 | .map(|item_node| match item_node.kind() { |
138 | ast::ImplItemKind::FnDef(it) => Function { id: ctx.to_def(it) }.into(), | 138 | ast::ImplItemKind::FnDef(it) => Function { id: ctx.to_def(it) }.into(), |
139 | ast::ImplItemKind::ConstDef(it) => Const { id: ctx.to_def(it) }.into(), | 139 | ast::ImplItemKind::ConstDef(it) => Const { id: ctx.to_def(it) }.into(), |
140 | ast::ImplItemKind::TypeDef(it) => TypeAlias { id: ctx.to_def(it) }.into(), | 140 | ast::ImplItemKind::TypeAliasDef(it) => TypeAlias { id: ctx.to_def(it) }.into(), |
141 | }) | 141 | }) |
142 | .collect() | 142 | .collect() |
143 | } else { | 143 | } else { |