mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Sort hover results by relevance
This commit is contained in:
parent
c2a07e21f5
commit
01fc1e57d2
2 changed files with 18 additions and 6 deletions
|
@ -407,8 +407,6 @@ fn traverse(
|
|||
|
||||
let mut t = None;
|
||||
let mut r = 0;
|
||||
// FIXME: Add an extra API that takes the file id of this. That is a simple way
|
||||
// to prevent us constantly walking up the tree to fetch the file
|
||||
sema.descend_into_macros_breakable(
|
||||
InRealFile::new(file_id, token.clone()),
|
||||
|tok| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue