1
Fork 0

Rename normalization functions to raw

This commit is contained in:
Michael Goulet 2024-08-11 12:30:38 -04:00
parent c5205e9d56
commit b5d2079fb9
7 changed files with 18 additions and 16 deletions

View file

@ -1110,7 +1110,7 @@ fn assemble_candidates_from_impls<'cx, 'tcx>(
| ty::Error(_) => false,
}
} else if tcx.is_lang_item(trait_ref.def_id, LangItem::PointeeTrait) {
let tail = selcx.tcx().struct_tail_with_normalize(
let tail = selcx.tcx().struct_tail_raw(
self_ty,
|ty| {
// We throw away any obligations we get from this, since we normalize