- let normalized_ty = self.infcx.partially_normalize_associated_types_in(
- cause,
- self.param_env,
- tcx.mk_projection(tcx.lang_items().deref_target()?, trait_ref.substs),
- );
+ let normalized_ty = self
+ .infcx
+ .at(&cause, self.param_env)
+ .normalize(tcx.mk_projection(tcx.lang_items().deref_target()?, trait_ref.substs));