1
Fork 0

region obligations, remove body_id

This commit is contained in:
lcnr 2022-06-29 18:14:11 +02:00
parent a0d2d9f315
commit 9f95c605f8
4 changed files with 10 additions and 20 deletions

View file

@ -95,7 +95,7 @@ pub fn scrape_region_constraints<'tcx, Op: super::TypeOp<'tcx, Output = R>, R>(
infcx.tcx,
region_obligations
.iter()
.map(|(_, r_o)| (r_o.sup_type, r_o.sub_region))
.map(|r_o| (r_o.sup_type, r_o.sub_region))
.map(|(ty, r)| (infcx.resolve_vars_if_possible(ty), r)),
&region_constraint_data,
);