cleanup hir db imports

This commit is contained in:
Aleksey Kladov 2019-09-08 09:53:49 +03:00
parent 787f1206a9
commit 6021a2a83a
24 changed files with 65 additions and 43 deletions

View file

@ -8,6 +8,7 @@ use ra_syntax::ast::{self, NameOwner, TypeAscriptionOwner};
use crate::{
adt::{EnumVariantId, StructFieldId, VariantDef},
db::{AstDatabase, DefDatabase, HirDatabase},
diagnostics::DiagnosticSink,
expr::{validation::ExprValidator, Body, BodySourceMap},
generics::HasGenericParams,
@ -29,7 +30,7 @@ use crate::{
},
type_ref::Mutability,
type_ref::TypeRef,
AsName, AstDatabase, AstId, DefDatabase, Either, HasSource, HirDatabase, Name, Ty,
AsName, AstId, Either, HasSource, Name, Ty,
};
/// hir::Crate describes a single crate. It's the main interface with which