mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Increase search depth to account for more granual steps
This commit is contained in:
parent
b4f3eb48db
commit
3825d8bd0f
3 changed files with 7 additions and 5 deletions
|
@ -448,6 +448,7 @@ pub(super) fn impl_method<'a, DB: HirDatabase>(
|
|||
AssocItem::Function(f) => Some((imp, ty, f)),
|
||||
_ => None,
|
||||
})
|
||||
.filter(|_| should_continue())
|
||||
.filter_map(move |(imp, ty, it)| {
|
||||
let fn_generics = GenericDef::from(it);
|
||||
let imp_generics = GenericDef::from(imp);
|
||||
|
@ -636,6 +637,7 @@ pub(super) fn impl_static_method<'a, DB: HirDatabase>(
|
|||
AssocItem::Function(f) => Some((imp, ty, f)),
|
||||
_ => None,
|
||||
})
|
||||
.filter(|_| should_continue())
|
||||
.filter_map(move |(imp, ty, it)| {
|
||||
let fn_generics = GenericDef::from(it);
|
||||
let imp_generics = GenericDef::from(imp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue