mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
Remove obsolete RangeInfo usage in references
This commit is contained in:
parent
342bf41022
commit
e31420fbe2
3 changed files with 20 additions and 38 deletions
|
@ -47,7 +47,7 @@ pub(crate) fn incoming_calls(db: &RootDatabase, position: FilePosition) -> Optio
|
|||
|
||||
let mut calls = CallLocations::default();
|
||||
|
||||
for (&file_id, references) in refs.info.references().iter() {
|
||||
for (&file_id, references) in refs.references().iter() {
|
||||
let file = sema.parse(file_id);
|
||||
let file = file.syntax();
|
||||
for reference in references {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue