1
Fork 0

Deeply normalize args for implied bounds

This commit is contained in:
Michael Goulet 2025-01-25 21:39:59 +00:00
parent a02a982ffc
commit ce0c952e96
2 changed files with 23 additions and 1 deletions

View file

@ -264,7 +264,7 @@ impl<'tcx> UniversalRegionRelationsBuilder<'_, 'tcx> {
}
let TypeOpOutput { output: norm_ty, constraints: constraints_normalize, .. } =
param_env
.and(type_op::normalize::Normalize { value: ty })
.and(DeeplyNormalize { value: ty })
.fully_perform(self.infcx, span)
.unwrap_or_else(|guar| TypeOpOutput {
output: Ty::new_error(self.infcx.tcx, guar),