aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_ty/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir_ty/src')
-rw-r--r--crates/ra_hir_ty/src/infer/expr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir_ty/src/infer/expr.rs b/crates/ra_hir_ty/src/infer/expr.rs
index b8df27706..0c3428999 100644
--- a/crates/ra_hir_ty/src/infer/expr.rs
+++ b/crates/ra_hir_ty/src/infer/expr.rs
@@ -662,7 +662,7 @@ impl<'a, D: HirDatabase> InferenceContext<'a, D> {
662 let mut substs = Vec::with_capacity(parent_param_count + param_count); 662 let mut substs = Vec::with_capacity(parent_param_count + param_count);
663 // Parent arguments are unknown, except for the receiver type 663 // Parent arguments are unknown, except for the receiver type
664 if let Some(parent_generics) = def_generics.and_then(|p| p.parent_params.clone()) { 664 if let Some(parent_generics) = def_generics.and_then(|p| p.parent_params.clone()) {
665 for param in &parent_generics.params { 665 for (_id, param) in parent_generics.params.iter() {
666 if param.name == name::SELF_TYPE { 666 if param.name == name::SELF_TYPE {
667 substs.push(receiver_ty.clone()); 667 substs.push(receiver_ty.clone());
668 } else { 668 } else {