aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/call_info.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-02-08 11:09:57 +0000
committerAleksey Kladov <[email protected]>2019-02-08 11:34:30 +0000
commite4a6343e47a7dc87192b762b3b2ebd100240d194 (patch)
tree44f92482abb828755b6ad483fb50eb9ec673ee38 /crates/ra_ide_api/src/call_info.rs
parent5173c6295b9c48e6990d6fb6467fc35cd0dfc902 (diff)
move index_resolve to symbol index
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)?;