mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
inline goto_defention tests
This commit is contained in:
parent
c2a0f5e50f
commit
da32463cbf
3 changed files with 58 additions and 66 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue