1
Fork 0

Rename arg_iter to iter_instantiated

This commit is contained in:
Michael Goulet 2023-07-17 17:49:47 +00:00
parent 4eaad89dce
commit 05f6890b3e
20 changed files with 47 additions and 40 deletions

View file

@ -117,7 +117,7 @@ impl<'tcx> LateLintPass<'tcx> for OpaqueHiddenInferredBound {
for (assoc_pred, assoc_pred_span) in cx
.tcx
.explicit_item_bounds(proj.projection_ty.def_id)
.arg_iter_copied(cx.tcx, &proj.projection_ty.args)
.iter_instantiated_copied(cx.tcx, &proj.projection_ty.args)
{
let assoc_pred = assoc_pred.fold_with(proj_replacer);
let Ok(assoc_pred) = traits::fully_normalize(