Rollup merge of #103586 - compiler-errors:issue-103573, r=jackh726
Process registered region obligation in `resolve_regions_with_wf_tys` Fixes #103573
This commit is contained in:
commit
bf53e712c0
3 changed files with 40 additions and 0 deletions
|
@ -713,6 +713,10 @@ fn resolve_regions_with_wf_tys<'tcx>(
|
|||
|
||||
add_constraints(&infcx, region_bound_pairs);
|
||||
|
||||
infcx.process_registered_region_obligations(
|
||||
outlives_environment.region_bound_pairs(),
|
||||
param_env,
|
||||
);
|
||||
let errors = infcx.resolve_regions(&outlives_environment);
|
||||
|
||||
debug!(?errors, "errors");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue