mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
Implicit format args support
This commit is contained in:
parent
5b8e386bae
commit
d2cd30007c
37 changed files with 615 additions and 174 deletions
|
@ -9,7 +9,7 @@ use ide_db::{
|
|||
defs::Definition,
|
||||
documentation::docs_from_attrs,
|
||||
helpers::visit_file_defs,
|
||||
search::SearchScope,
|
||||
search::{FileReferenceNode, SearchScope},
|
||||
FxHashMap, FxHashSet, RootDatabase, SymbolKind,
|
||||
};
|
||||
use itertools::Itertools;
|
||||
|
@ -240,7 +240,7 @@ fn find_related_tests(
|
|||
.flatten();
|
||||
for ref_ in defs {
|
||||
let name_ref = match ref_.name {
|
||||
ast::NameLike::NameRef(name_ref) => name_ref,
|
||||
FileReferenceNode::NameRef(name_ref) => name_ref,
|
||||
_ => continue,
|
||||
};
|
||||
if let Some(fn_def) =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue