aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/method_resolution.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/hir_ty/src/method_resolution.rs')
-rw-r--r--crates/hir_ty/src/method_resolution.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_ty/src/method_resolution.rs b/crates/hir_ty/src/method_resolution.rs
index 338851fa8..c093fce20 100644
--- a/crates/hir_ty/src/method_resolution.rs
+++ b/crates/hir_ty/src/method_resolution.rs
@@ -675,7 +675,7 @@ fn is_valid_candidate(
675 } 675 }
676 } 676 }
677 if let Some(receiver_ty) = receiver_ty { 677 if let Some(receiver_ty) = receiver_ty {
678 if !data.has_self_param { 678 if !data.has_self_param() {
679 return false; 679 return false;
680 } 680 }
681 let transformed_receiver_ty = match transform_receiver_ty(db, m, self_ty) { 681 let transformed_receiver_ty = match transform_receiver_ty(db, m, self_ty) {