Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir/src/term_search/tactics.rs')
| -rw-r--r-- | crates/hir/src/term_search/tactics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir/src/term_search/tactics.rs b/crates/hir/src/term_search/tactics.rs index a8282359ce..012d815394 100644 --- a/crates/hir/src/term_search/tactics.rs +++ b/crates/hir/src/term_search/tactics.rs @@ -760,7 +760,7 @@ pub(super) fn impl_static_method<'a, DB: HirDatabase>( .count(); // Ignore bigger number of generics for now as they kill the performance - if non_default_type_params_len > 0 { + if non_default_type_params_len > 1 { return None; } |