aboutsummaryrefslogtreecommitdiff
path: root/crates/hir/src/semantics
diff options
context:
space:
mode:
Diffstat (limited to 'crates/hir/src/semantics')
-rw-r--r--crates/hir/src/semantics/source_to_def.rs4
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};
98use hir_expand::{name::AsName, AstId, MacroCallId, MacroDefKind}; 98use hir_expand::{name::AsName, AstId, MacroCallId, MacroDefId, MacroDefKind};
99use rustc_hash::FxHashMap; 99use rustc_hash::FxHashMap;
100use smallvec::SmallVec; 100use smallvec::SmallVec;
101use stdx::impl_from; 101use stdx::impl_from;
@@ -104,7 +104,7 @@ use syntax::{
104 match_ast, AstNode, SyntaxNode, 104 match_ast, AstNode, SyntaxNode,
105}; 105};
106 106
107use crate::{db::HirDatabase, InFile, MacroDefId}; 107use crate::{db::HirDatabase, InFile};
108 108
109pub(super) type SourceToDefCache = FxHashMap<ChildContainer, DynMap>; 109pub(super) type SourceToDefCache = FxHashMap<ChildContainer, DynMap>;
110 110