diff options
Diffstat (limited to 'crates/hir/src/semantics')
-rw-r--r-- | crates/hir/src/semantics/source_to_def.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/hir/src/semantics/source_to_def.rs b/crates/hir/src/semantics/source_to_def.rs index 0c5ba3a8f..12e5d65fa 100644 --- a/crates/hir/src/semantics/source_to_def.rs +++ b/crates/hir/src/semantics/source_to_def.rs | |||
@@ -95,7 +95,7 @@ use hir_def::{ | |||
95 | ImplId, LifetimeParamId, ModuleId, StaticId, StructId, TraitId, TypeAliasId, TypeParamId, | 95 | ImplId, LifetimeParamId, ModuleId, StaticId, StructId, TraitId, TypeAliasId, TypeParamId, |
96 | UnionId, VariantId, | 96 | UnionId, VariantId, |
97 | }; | 97 | }; |
98 | use hir_expand::{name::AsName, AstId, MacroCallId, MacroDefKind}; | 98 | use hir_expand::{name::AsName, AstId, MacroCallId, MacroDefId, MacroDefKind}; |
99 | use rustc_hash::FxHashMap; | 99 | use rustc_hash::FxHashMap; |
100 | use smallvec::SmallVec; | 100 | use smallvec::SmallVec; |
101 | use stdx::impl_from; | 101 | use stdx::impl_from; |
@@ -104,7 +104,7 @@ use syntax::{ | |||
104 | match_ast, AstNode, SyntaxNode, | 104 | match_ast, AstNode, SyntaxNode, |
105 | }; | 105 | }; |
106 | 106 | ||
107 | use crate::{db::HirDatabase, InFile, MacroDefId}; | 107 | use crate::{db::HirDatabase, InFile}; |
108 | 108 | ||
109 | pub(super) type SourceToDefCache = FxHashMap<ChildContainer, DynMap>; | 109 | pub(super) type SourceToDefCache = FxHashMap<ChildContainer, DynMap>; |
110 | 110 | ||