mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
fixes
This commit is contained in:
parent
773f9b38e3
commit
f7f4792f4f
4 changed files with 14 additions and 17 deletions
|
@ -118,8 +118,6 @@ pub(crate) fn find_all_refs(
|
|||
}
|
||||
|
||||
fn filter_import_references(usages: &mut UsageSearchResult) {
|
||||
// todo use this https://github.com/rust-lang/rust-analyzer/blob/master/crates/rust-analyzer/src/config.rs#L432
|
||||
|
||||
for (_file_id, refs) in &mut usages.references {
|
||||
refs.retain(|it| match it.name.as_name_ref() {
|
||||
Some(name_ref) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue