diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-09-08 07:57:49 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2019-09-08 07:57:49 +0100 |
commit | 839035c6be133def24853ddc6d0e7ad03aad0c2d (patch) | |
tree | 7d44c7e64dab1426aacbea26ea447ca0df8347aa /crates/ra_hir/src/code_model.rs | |
parent | 787f1206a975ea82d7af878f2acaea15b08b5d36 (diff) | |
parent | 6021a2a83a2e229847905c6d06ba412faddd1acb (diff) |
Merge #1788
1788: cleanup hir db imports r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_hir/src/code_model.rs')
-rw-r--r-- | crates/ra_hir/src/code_model.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/ra_hir/src/code_model.rs b/crates/ra_hir/src/code_model.rs index 1bb2f9f28..2bac6122b 100644 --- a/crates/ra_hir/src/code_model.rs +++ b/crates/ra_hir/src/code_model.rs | |||
@@ -8,6 +8,7 @@ use ra_syntax::ast::{self, NameOwner, TypeAscriptionOwner}; | |||
8 | 8 | ||
9 | use crate::{ | 9 | use crate::{ |
10 | adt::{EnumVariantId, StructFieldId, VariantDef}, | 10 | adt::{EnumVariantId, StructFieldId, VariantDef}, |
11 | db::{AstDatabase, DefDatabase, HirDatabase}, | ||
11 | diagnostics::DiagnosticSink, | 12 | diagnostics::DiagnosticSink, |
12 | expr::{validation::ExprValidator, Body, BodySourceMap}, | 13 | expr::{validation::ExprValidator, Body, BodySourceMap}, |
13 | generics::HasGenericParams, | 14 | generics::HasGenericParams, |
@@ -29,7 +30,7 @@ use crate::{ | |||
29 | }, | 30 | }, |
30 | type_ref::Mutability, | 31 | type_ref::Mutability, |
31 | type_ref::TypeRef, | 32 | type_ref::TypeRef, |
32 | AsName, AstDatabase, AstId, DefDatabase, Either, HasSource, HirDatabase, Name, Ty, | 33 | AsName, AstId, Either, HasSource, Name, Ty, |
33 | }; | 34 | }; |
34 | 35 | ||
35 | /// hir::Crate describes a single crate. It's the main interface with which | 36 | /// hir::Crate describes a single crate. It's the main interface with which |