inline goto_defention tests

This commit is contained in:
Aleksey Kladov 2019-01-05 19:41:43 +03:00
parent c2a0f5e50f
commit da32463cbf
3 changed files with 58 additions and 66 deletions

View file

@ -399,13 +399,6 @@ impl Analysis {
) -> Cancelable<Option<Vec<NavigationTarget>>> {
goto_defenition::goto_defenition(&*self.db, position)
}
// /// Resolves reference to definition, but does not gurantee correctness.
// pub fn approximately_resolve_symbol(
// &self,
// position: FilePosition,
// ) -> Cancelable<Option<ReferenceResolution>> {
// self.db.approximately_resolve_symbol(position)
// }
/// Finds all usages of the reference at point.
pub fn find_all_refs(&self, position: FilePosition) -> Cancelable<Vec<(FileId, TextRange)>> {
self.db.find_all_refs(position)