aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/source_binder.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-09-08 07:53:49 +0100
committerAleksey Kladov <[email protected]>2019-09-08 07:55:12 +0100
commit6021a2a83a2e229847905c6d06ba412faddd1acb (patch)
tree7d44c7e64dab1426aacbea26ea447ca0df8347aa /crates/ra_hir/src/source_binder.rs
parent787f1206a975ea82d7af878f2acaea15b08b5d36 (diff)
cleanup hir db imports
Diffstat (limited to 'crates/ra_hir/src/source_binder.rs')
-rw-r--r--crates/ra_hir/src/source_binder.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_hir/src/source_binder.rs b/crates/ra_hir/src/source_binder.rs
index fdbe5e8b0..afdcd5415 100644
--- a/crates/ra_hir/src/source_binder.rs
+++ b/crates/ra_hir/src/source_binder.rs
@@ -18,6 +18,7 @@ use ra_syntax::{
18use rustc_hash::{FxHashMap, FxHashSet}; 18use rustc_hash::{FxHashMap, FxHashSet};
19 19
20use crate::{ 20use crate::{
21 db::HirDatabase,
21 expr::{ 22 expr::{
22 self, 23 self,
23 scope::{ExprScopes, ScopeId}, 24 scope::{ExprScopes, ScopeId},
@@ -27,9 +28,8 @@ use crate::{
27 name, 28 name,
28 path::{PathKind, PathSegment}, 29 path::{PathKind, PathSegment},
29 ty::method_resolution::implements_trait, 30 ty::method_resolution::implements_trait,
30 AsName, AstId, Const, Crate, DefWithBody, Either, Enum, Function, HasBody, HirDatabase, 31 AsName, AstId, Const, Crate, DefWithBody, Either, Enum, Function, HasBody, HirFileId, MacroDef,
31 HirFileId, MacroDef, Module, ModuleDef, Name, Path, PerNs, Resolution, Resolver, Static, 32 Module, ModuleDef, Name, Path, PerNs, Resolution, Resolver, Static, Struct, Trait, Ty,
32 Struct, Trait, Ty,
33}; 33};
34 34
35/// Locates the module by `FileId`. Picks topmost module in the file. 35/// Locates the module by `FileId`. Picks topmost module in the file.