mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Fallback to invisible associated functions and constants if no visible resolutions are found
This commit is contained in:
parent
0d76b94c90
commit
5d54c550e7
3 changed files with 94 additions and 54 deletions
|
@ -3274,7 +3274,7 @@ impl Type {
|
|||
with_local_impls.and_then(|b| b.id.containing_block()).into(),
|
||||
name,
|
||||
method_resolution::LookupMode::MethodCall,
|
||||
&mut |_adj, id| callback(id),
|
||||
&mut |_adj, id, _| callback(id),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue