mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
fix: multi-token mapping aware find references
This commit is contained in:
parent
81ab52c6ca
commit
bdba35cc93
7 changed files with 155 additions and 86 deletions
|
@ -405,7 +405,7 @@ impl Analysis {
|
|||
&self,
|
||||
position: FilePosition,
|
||||
search_scope: Option<SearchScope>,
|
||||
) -> Cancellable<Option<ReferenceSearchResult>> {
|
||||
) -> Cancellable<Option<Vec<ReferenceSearchResult>>> {
|
||||
self.with_db(|db| references::find_all_refs(&Semantics::new(db), position, search_scope))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue