diff options
Diffstat (limited to 'crates/ra_hir')
-rw-r--r-- | crates/ra_hir/src/source_binder.rs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/crates/ra_hir/src/source_binder.rs b/crates/ra_hir/src/source_binder.rs index ca003576a..00541dbe1 100644 --- a/crates/ra_hir/src/source_binder.rs +++ b/crates/ra_hir/src/source_binder.rs | |||
@@ -8,8 +8,8 @@ use hir_def::{ | |||
8 | dyn_map::DynMap, | 8 | dyn_map::DynMap, |
9 | keys::{self, Key}, | 9 | keys::{self, Key}, |
10 | resolver::{HasResolver, Resolver}, | 10 | resolver::{HasResolver, Resolver}, |
11 | ConstId, DefWithBodyId, EnumId, FunctionId, ImplId, ModuleId, StaticId, StructId, TraitId, | 11 | ConstId, DefWithBodyId, EnumId, EnumVariantId, FunctionId, ImplId, ModuleId, StaticId, |
12 | UnionId, VariantId, | 12 | StructFieldId, StructId, TraitId, TypeAliasId, UnionId, VariantId, |
13 | }; | 13 | }; |
14 | use hir_expand::InFile; | 14 | use hir_expand::InFile; |
15 | use ra_prof::profile; | 15 | use ra_prof::profile; |
@@ -166,6 +166,8 @@ to_id_impls![ | |||
166 | (FunctionId, ast::FnDef, keys::FUNCTION), | 166 | (FunctionId, ast::FnDef, keys::FUNCTION), |
167 | (StaticId, ast::StaticDef, keys::STATIC), | 167 | (StaticId, ast::StaticDef, keys::STATIC), |
168 | (ConstId, ast::ConstDef, keys::CONST), | 168 | (ConstId, ast::ConstDef, keys::CONST), |
169 | // (TypeAlias, TypeAliasId, ast::TypeAliasDef, keys::TYPE_ALIAS), | 169 | (TypeAliasId, ast::TypeAliasDef, keys::TYPE_ALIAS), |
170 | (ImplId, ast::ImplBlock, keys::IMPL), | 170 | (ImplId, ast::ImplBlock, keys::IMPL), |
171 | (StructFieldId, ast::RecordFieldDef, keys::RECORD_FIELD), | ||
172 | (EnumVariantId, ast::EnumVariant, keys::ENUM_VARIANT), | ||
171 | ]; | 173 | ]; |