aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/call_info.rs
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-02-08 11:37:05 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-02-08 11:37:05 +0000
commitb5fc999e7dafa8217d77088ae10bff96e767a3e9 (patch)
tree7fb47d6afa2eca87d2cd330e8e39af2ce3615dd5 /crates/ra_ide_api/src/call_info.rs
parent9a1d2a46c249fa81294c156b9e23b624e14495cd (diff)
parent884f04670aea239f06fe5b6ff7a9f2073034f8bc (diff)
Merge #765
765: Jettison `imp` module r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_ide_api/src/call_info.rs')
-rw-r--r--crates/ra_ide_api/src/call_info.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/call_info.rs b/crates/ra_ide_api/src/call_info.rs
index 2eb388e0e..a59ab7853 100644
--- a/crates/ra_ide_api/src/call_info.rs
+++ b/crates/ra_ide_api/src/call_info.rs
@@ -20,7 +20,7 @@ pub(crate) fn call_info(db: &RootDatabase, position: FilePosition) -> Option<Cal
20 let name_ref = calling_node.name_ref()?; 20 let name_ref = calling_node.name_ref()?;
21 21
22 // Resolve the function's NameRef (NOTE: this isn't entirely accurate). 22 // Resolve the function's NameRef (NOTE: this isn't entirely accurate).
23 let file_symbols = db.index_resolve(name_ref); 23 let file_symbols = crate::symbol_index::index_resolve(db, name_ref);
24 let symbol = file_symbols 24 let symbol = file_symbols
25 .into_iter() 25 .into_iter()
26 .find(|it| it.ptr.kind() == FN_DEF)?; 26 .find(|it| it.ptr.kind() == FN_DEF)?;