aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_ty/src/infer
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2020-02-02 12:43:04 +0000
committerFlorian Diebold <[email protected]>2020-02-07 17:28:10 +0000
commit86348f5994cdc3831edf3a5582d6d9d576fd1d80 (patch)
treed630646508fcf2422026178f0a0c707ff828e2bd /crates/ra_hir_ty/src/infer
parent3397ca679fb0156c9f102ab82354e2bcef5f4dd1 (diff)
Comment fixes / todos
Diffstat (limited to 'crates/ra_hir_ty/src/infer')
-rw-r--r--crates/ra_hir_ty/src/infer/expr.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_hir_ty/src/infer/expr.rs b/crates/ra_hir_ty/src/infer/expr.rs
index 8b8378499..b32df8e90 100644
--- a/crates/ra_hir_ty/src/infer/expr.rs
+++ b/crates/ra_hir_ty/src/infer/expr.rs
@@ -587,6 +587,7 @@ impl<'a, D: HirDatabase> InferenceContext<'a, D> {
587 self.write_method_resolution(tgt_expr, func); 587 self.write_method_resolution(tgt_expr, func);
588 (ty, self.db.value_ty(func.into()), Some(generics(self.db, func.into()))) 588 (ty, self.db.value_ty(func.into()), Some(generics(self.db, func.into())))
589 } 589 }
590 // TODO fix this
590 None => (receiver_ty, Binders::new(0, Ty::Unknown), None), 591 None => (receiver_ty, Binders::new(0, Ty::Unknown), None),
591 }; 592 };
592 let substs = self.substs_for_method_call(def_generics, generic_args, &derefed_receiver_ty); 593 let substs = self.substs_for_method_call(def_generics, generic_args, &derefed_receiver_ty);