aboutsummaryrefslogtreecommitdiff
path: root/crates/completion/src
diff options
context:
space:
mode:
authorIgor Aleksanov <[email protected]>2020-10-24 09:07:10 +0100
committerIgor Aleksanov <[email protected]>2020-10-24 09:07:10 +0100
commitb6ea56ea091ad1dbd765831d8dfe79e4d3cdf004 (patch)
treefe4de54d78bbafd5de62f008b25c49fa22041146 /crates/completion/src
parent8d3d509af77756758cea14cc4939d099b4f95993 (diff)
Make call_info a part of ide_db
Diffstat (limited to 'crates/completion/src')
-rw-r--r--crates/completion/src/completion_context.rs3
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
3use base_db::{FilePosition, SourceDatabase}; 3use base_db::{FilePosition, SourceDatabase};
4use call_info::ActiveParameter;
5use hir::{Local, ScopeDef, Semantics, SemanticsScope, Type}; 4use hir::{Local, ScopeDef, Semantics, SemanticsScope, Type};
6use ide_db::RootDatabase; 5use ide_db::{call_info::ActiveParameter, RootDatabase};
7use syntax::{ 6use 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,