diff options
author | Igor Aleksanov <[email protected]> | 2020-10-24 09:07:10 +0100 |
---|---|---|
committer | Igor Aleksanov <[email protected]> | 2020-10-24 09:07:10 +0100 |
commit | b6ea56ea091ad1dbd765831d8dfe79e4d3cdf004 (patch) | |
tree | fe4de54d78bbafd5de62f008b25c49fa22041146 /crates/completion/src | |
parent | 8d3d509af77756758cea14cc4939d099b4f95993 (diff) |
Make call_info a part of ide_db
Diffstat (limited to 'crates/completion/src')
-rw-r--r-- | crates/completion/src/completion_context.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/completion/src/completion_context.rs b/crates/completion/src/completion_context.rs index e4f86d0e0..97c5c04ba 100644 --- a/crates/completion/src/completion_context.rs +++ b/crates/completion/src/completion_context.rs | |||
@@ -1,9 +1,8 @@ | |||
1 | //! See `CompletionContext` structure. | 1 | //! See `CompletionContext` structure. |
2 | 2 | ||
3 | use base_db::{FilePosition, SourceDatabase}; | 3 | use base_db::{FilePosition, SourceDatabase}; |
4 | use call_info::ActiveParameter; | ||
5 | use hir::{Local, ScopeDef, Semantics, SemanticsScope, Type}; | 4 | use hir::{Local, ScopeDef, Semantics, SemanticsScope, Type}; |
6 | use ide_db::RootDatabase; | 5 | use ide_db::{call_info::ActiveParameter, RootDatabase}; |
7 | use syntax::{ | 6 | use syntax::{ |
8 | algo::{find_covering_element, find_node_at_offset}, | 7 | algo::{find_covering_element, find_node_at_offset}, |
9 | ast, match_ast, AstNode, NodeOrToken, | 8 | ast, match_ast, AstNode, NodeOrToken, |