From a61615c95537ec85b6b52505f42cbd9481adf89d Mon Sep 17 00:00:00 2001 From: Florian Diebold Date: Sat, 14 Sep 2019 10:04:56 +0200 Subject: Upgrade Chalk ... and remove Ty::UnselectedProjection. It'll be handled differently. --- crates/ra_hir/src/ty/infer.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'crates/ra_hir/src/ty/infer.rs') diff --git a/crates/ra_hir/src/ty/infer.rs b/crates/ra_hir/src/ty/infer.rs index 3ee083a04..bf57bb3b7 100644 --- a/crates/ra_hir/src/ty/infer.rs +++ b/crates/ra_hir/src/ty/infer.rs @@ -429,10 +429,6 @@ impl<'a, D: HirDatabase> InferenceContext<'a, D> { let ty = self.resolve_ty_as_possible(&mut vec![], ty); ty.fold(&mut |ty| match ty { Ty::Projection(proj_ty) => self.normalize_projection_ty(proj_ty), - Ty::UnselectedProjection(proj_ty) => { - // FIXME use Chalk's unselected projection support - Ty::UnselectedProjection(proj_ty) - } _ => ty, }) } -- cgit v1.2.3