1
Fork 0

Auto merge of #107376 - aliemjay:remove-givens, r=lcnr

remove obsolete `givens` from regionck

Fixes #106567

r? `@lcnr` (feel free to reassign)
This commit is contained in:
bors 2023-03-15 02:50:58 +00:00
commit e84e5ff04a
14 changed files with 87 additions and 152 deletions

View file

@ -111,7 +111,6 @@ pub fn type_allowed_to_implement_copy<'tcx>(
// Check regions assuming the self type of the impl is WF
let outlives_env = OutlivesEnvironment::with_bounds(
param_env,
Some(&infcx),
infcx.implied_bounds_tys(
param_env,
parent_cause.body_id,