diff --git a/crates/ra_hir/src/lib.rs b/crates/ra_hir/src/lib.rs index 868df5b6b4b..d4216161239 100644 --- a/crates/ra_hir/src/lib.rs +++ b/crates/ra_hir/src/lib.rs @@ -70,7 +70,7 @@ pub use crate::{ pub use hir_def::{ builtin_type::BuiltinType, docs::Documentation, - nameres::{per_ns::PerNs, raw::ImportId}, + nameres::raw::ImportId, path::{Path, PathKind}, type_ref::Mutability, }; diff --git a/crates/ra_hir_def/src/db.rs b/crates/ra_hir_def/src/db.rs index cf3a6ccd83e..7fec2e8c017 100644 --- a/crates/ra_hir_def/src/db.rs +++ b/crates/ra_hir_def/src/db.rs @@ -17,28 +17,28 @@ use crate::{ raw::{ImportSourceMap, RawItems}, CrateDefMap, }, - AttrDefId, ConstId, DefWithBodyId, EnumId, FunctionId, GenericDefId, ImplId, ItemLoc, ModuleId, - StaticId, StructOrUnionId, TraitId, TypeAliasId, + AttrDefId, ConstId, ConstLoc, DefWithBodyId, EnumId, FunctionId, FunctionLoc, GenericDefId, + ImplId, ItemLoc, ModuleId, StaticId, StructOrUnionId, TraitId, TypeAliasId, TypeAliasLoc, }; #[salsa::query_group(InternDatabaseStorage)] pub trait InternDatabase: SourceDatabase { #[salsa::interned] - fn intern_function(&self, loc: crate::FunctionLoc) -> crate::FunctionId; + fn intern_function(&self, loc: FunctionLoc) -> FunctionId; #[salsa::interned] - fn intern_struct_or_union(&self, loc: ItemLoc) -> crate::StructOrUnionId; + fn intern_struct_or_union(&self, loc: ItemLoc) -> StructOrUnionId; #[salsa::interned] - fn intern_enum(&self, loc: ItemLoc) -> crate::EnumId; + fn intern_enum(&self, loc: ItemLoc) -> EnumId; #[salsa::interned] - fn intern_const(&self, loc: crate::ConstLoc) -> crate::ConstId; + fn intern_const(&self, loc: ConstLoc) -> ConstId; #[salsa::interned] - fn intern_static(&self, loc: ItemLoc) -> crate::StaticId; + fn intern_static(&self, loc: ItemLoc) -> StaticId; #[salsa::interned] - fn intern_trait(&self, loc: ItemLoc) -> crate::TraitId; + fn intern_trait(&self, loc: ItemLoc) -> TraitId; #[salsa::interned] - fn intern_type_alias(&self, loc: crate::TypeAliasLoc) -> crate::TypeAliasId; + fn intern_type_alias(&self, loc: TypeAliasLoc) -> TypeAliasId; #[salsa::interned] - fn intern_impl(&self, loc: ItemLoc) -> crate::ImplId; + fn intern_impl(&self, loc: ItemLoc) -> ImplId; } #[salsa::query_group(DefDatabaseStorage)]