diff options
author | Florian Diebold <[email protected]> | 2020-02-07 14:13:00 +0000 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2020-02-07 17:28:10 +0000 |
commit | 6787f124b5557120cd1e4557cbdb59aa7f215be6 (patch) | |
tree | 810aa041297e9ff450dbb3a8a05f09a10c08f8a2 /crates/ra_hir_ty/src/infer | |
parent | 0718682cffaae34e5c106c793c60f6706fc04b05 (diff) |
Clean up RPIT a bit
Diffstat (limited to 'crates/ra_hir_ty/src/infer')
-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 b69785e55..6222bd90e 100644 --- a/crates/ra_hir_ty/src/infer/expr.rs +++ b/crates/ra_hir_ty/src/infer/expr.rs | |||
@@ -635,7 +635,6 @@ impl<'a, D: HirDatabase> InferenceContext<'a, D> { | |||
635 | continue; | 635 | continue; |
636 | } | 636 | } |
637 | 637 | ||
638 | let param_ty = self.insert_vars_for_impl_trait(param_ty); | ||
639 | let param_ty = self.normalize_associated_types_in(param_ty); | 638 | let param_ty = self.normalize_associated_types_in(param_ty); |
640 | self.infer_expr_coerce(arg, &Expectation::has_type(param_ty.clone())); | 639 | self.infer_expr_coerce(arg, &Expectation::has_type(param_ty.clone())); |
641 | } | 640 | } |