Revert "Auto merge of #107376 - aliemjay:remove-givens, r=lcnr"
This reverts commite84e5ff04a
, reversing changes made to1716932743
.
This commit is contained in:
parent
992d154f3a
commit
5ad1083e5b
14 changed files with 152 additions and 87 deletions
|
@ -179,7 +179,7 @@ fn get_impl_substs(
|
|||
}
|
||||
|
||||
let implied_bounds = infcx.implied_bounds_tys(param_env, impl1_def_id, assumed_wf_types);
|
||||
let outlives_env = OutlivesEnvironment::with_bounds(param_env, implied_bounds);
|
||||
let outlives_env = OutlivesEnvironment::with_bounds(param_env, Some(infcx), implied_bounds);
|
||||
let _ =
|
||||
infcx.err_ctxt().check_region_obligations_and_report_errors(impl1_def_id, &outlives_env);
|
||||
let Ok(impl2_substs) = infcx.fully_resolve(impl2_substs) else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue