diff options
author | Aleksey Kladov <[email protected]> | 2018-11-28 01:09:44 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-11-28 01:09:44 +0000 |
commit | 59e29aef633e906837f8fed604435976a46be691 (patch) | |
tree | 0e5aa7337c000dd8c6ef3a7fedba68abf7feca8a /crates/ra_analysis/src/completion | |
parent | 0e4b710af83844f4a7c471c5335c99aaaa25a90c (diff) |
Move hir to a separate crate
Diffstat (limited to 'crates/ra_analysis/src/completion')
-rw-r--r-- | crates/ra_analysis/src/completion/mod.rs | 1 | ||||
-rw-r--r-- | crates/ra_analysis/src/completion/reference_completion.rs | 12 |
2 files changed, 6 insertions, 7 deletions
diff --git a/crates/ra_analysis/src/completion/mod.rs b/crates/ra_analysis/src/completion/mod.rs index 538b51633..e5ba92acd 100644 --- a/crates/ra_analysis/src/completion/mod.rs +++ b/crates/ra_analysis/src/completion/mod.rs | |||
@@ -12,7 +12,6 @@ use rustc_hash::{FxHashMap}; | |||
12 | 12 | ||
13 | use crate::{ | 13 | use crate::{ |
14 | db, | 14 | db, |
15 | hir, | ||
16 | Cancelable, FilePosition | 15 | Cancelable, FilePosition |
17 | }; | 16 | }; |
18 | 17 | ||
diff --git a/crates/ra_analysis/src/completion/reference_completion.rs b/crates/ra_analysis/src/completion/reference_completion.rs index 881d29916..e1a2d5241 100644 --- a/crates/ra_analysis/src/completion/reference_completion.rs +++ b/crates/ra_analysis/src/completion/reference_completion.rs | |||
@@ -6,16 +6,16 @@ use ra_syntax::{ | |||
6 | ast::{self, LoopBodyOwner}, | 6 | ast::{self, LoopBodyOwner}, |
7 | SyntaxKind::*, | 7 | SyntaxKind::*, |
8 | }; | 8 | }; |
9 | 9 | use hir::{ | |
10 | use crate::{ | ||
11 | db::RootDatabase, | ||
12 | completion::CompletionItem, | ||
13 | hir::{ | ||
14 | self, | 10 | self, |
15 | FnScopes, | 11 | FnScopes, |
16 | Def, | 12 | Def, |
17 | Path, | 13 | Path, |
18 | }, | 14 | }; |
15 | |||
16 | use crate::{ | ||
17 | db::RootDatabase, | ||
18 | completion::CompletionItem, | ||
19 | Cancelable | 19 | Cancelable |
20 | }; | 20 | }; |
21 | 21 | ||