diff options
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 |