From 8efc41e7f2924c2fef62348d90cd83c446892d8c Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 23 Nov 2019 15:33:21 +0300 Subject: Cleanup imports --- crates/ra_hir_def/src/db.rs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'crates/ra_hir_def/src/db.rs') diff --git a/crates/ra_hir_def/src/db.rs b/crates/ra_hir_def/src/db.rs index cf3a6ccd8..7fec2e8c0 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)] -- cgit v1.2.3