diff options
Diffstat (limited to 'crates/ra_analysis/src/lib.rs')
-rw-r--r-- | crates/ra_analysis/src/lib.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/crates/ra_analysis/src/lib.rs b/crates/ra_analysis/src/lib.rs index 0dac9f268..13527e628 100644 --- a/crates/ra_analysis/src/lib.rs +++ b/crates/ra_analysis/src/lib.rs | |||
@@ -399,13 +399,6 @@ impl Analysis { | |||
399 | ) -> Cancelable<Option<Vec<NavigationTarget>>> { | 399 | ) -> Cancelable<Option<Vec<NavigationTarget>>> { |
400 | goto_defenition::goto_defenition(&*self.db, position) | 400 | goto_defenition::goto_defenition(&*self.db, position) |
401 | } | 401 | } |
402 | // /// Resolves reference to definition, but does not gurantee correctness. | ||
403 | // pub fn approximately_resolve_symbol( | ||
404 | // &self, | ||
405 | // position: FilePosition, | ||
406 | // ) -> Cancelable<Option<ReferenceResolution>> { | ||
407 | // self.db.approximately_resolve_symbol(position) | ||
408 | // } | ||
409 | /// Finds all usages of the reference at point. | 402 | /// Finds all usages of the reference at point. |
410 | pub fn find_all_refs(&self, position: FilePosition) -> Cancelable<Vec<(FileId, TextRange)>> { | 403 | pub fn find_all_refs(&self, position: FilePosition) -> Cancelable<Vec<(FileId, TextRange)>> { |
411 | self.db.find_all_refs(position) | 404 | self.db.find_all_refs(position) |