Comment fixes / todos

This commit is contained in:
Florian Diebold 2020-02-02 13:43:04 +01:00 committed by Florian Diebold
parent 3397ca679f
commit 86348f5994
3 changed files with 8 additions and 6 deletions

View file

@ -587,6 +587,7 @@ impl<'a, D: HirDatabase> InferenceContext<'a, D> {
self.write_method_resolution(tgt_expr, func);
(ty, self.db.value_ty(func.into()), Some(generics(self.db, func.into())))
}
// TODO fix this
None => (receiver_ty, Binders::new(0, Ty::Unknown), None),
};
let substs = self.substs_for_method_call(def_generics, generic_args, &derefed_receiver_ty);