diff options
author | Florian Diebold <[email protected]> | 2020-02-07 17:17:23 +0000 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2020-02-07 17:28:11 +0000 |
commit | 9d6061f3bb935c914a6d58df803dd42770f2f7e2 (patch) | |
tree | e1fef57e0dc0c26e2f48814bb98d4cd57fa49ba9 /crates/ra_hir_ty/src/infer/expr.rs | |
parent | 6b9d05d1937f298df4197cebf862c3f644dd6778 (diff) |
Fix some TODOs
Diffstat (limited to 'crates/ra_hir_ty/src/infer/expr.rs')
-rw-r--r-- | crates/ra_hir_ty/src/infer/expr.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ra_hir_ty/src/infer/expr.rs b/crates/ra_hir_ty/src/infer/expr.rs index 00ae35953..3c9c02d03 100644 --- a/crates/ra_hir_ty/src/infer/expr.rs +++ b/crates/ra_hir_ty/src/infer/expr.rs | |||
@@ -587,7 +587,6 @@ 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 | ||
591 | None => (receiver_ty, Binders::new(0, Ty::Unknown), None), | 590 | None => (receiver_ty, Binders::new(0, Ty::Unknown), None), |
592 | }; | 591 | }; |
593 | let substs = self.substs_for_method_call(def_generics, generic_args, &derefed_receiver_ty); | 592 | let substs = self.substs_for_method_call(def_generics, generic_args, &derefed_receiver_ty); |