diff options
author | Aleksey Kladov <[email protected]> | 2019-09-08 07:53:49 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-09-08 07:55:12 +0100 |
commit | 6021a2a83a2e229847905c6d06ba412faddd1acb (patch) | |
tree | 7d44c7e64dab1426aacbea26ea447ca0df8347aa /crates/ra_hir/src/source_binder.rs | |
parent | 787f1206a975ea82d7af878f2acaea15b08b5d36 (diff) |
cleanup hir db imports
Diffstat (limited to 'crates/ra_hir/src/source_binder.rs')
-rw-r--r-- | crates/ra_hir/src/source_binder.rs | 6 |
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::{ | |||
18 | use rustc_hash::{FxHashMap, FxHashSet}; | 18 | use rustc_hash::{FxHashMap, FxHashSet}; |
19 | 19 | ||
20 | use crate::{ | 20 | use 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. |