Rename structurally_normalize to structurally_normalize_ty

This commit is contained in:
Boxy
2025-01-21 11:22:30 +00:00
parent 513bfaa8bc
commit b99f59bbd6
8 changed files with 13 additions and 13 deletions

View File

@@ -709,7 +709,7 @@ impl<'a, 'tcx> ProofTreeVisitor<'tcx> for AmbiguityCausesVisitor<'a, 'tcx> {
if matches!(ty.kind(), ty::Alias(..)) {
let ocx = ObligationCtxt::new(infcx);
ty = ocx
.structurally_normalize(&ObligationCause::dummy(), param_env, ty)
.structurally_normalize_ty(&ObligationCause::dummy(), param_env, ty)
.map_err(|_| ())?;
if !ocx.select_where_possible().is_empty() {
return Err(());