aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/code_model.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-09-08 07:57:49 +0100
committerGitHub <[email protected]>2019-09-08 07:57:49 +0100
commit839035c6be133def24853ddc6d0e7ad03aad0c2d (patch)
tree7d44c7e64dab1426aacbea26ea447ca0df8347aa /crates/ra_hir/src/code_model.rs
parent787f1206a975ea82d7af878f2acaea15b08b5d36 (diff)
parent6021a2a83a2e229847905c6d06ba412faddd1acb (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.rs3
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
9use crate::{ 9use 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