Skip to content

Commit

Permalink
Auto merge of #108121 - aliemjay:resolve-var-region, r=lcnr
Browse files Browse the repository at this point in the history
always resolve to universal regions if possible

`RegionConstraintCollector::opportunistic_resolve_var`, which is used in canonicalization and projection logic, doesn't resolve the region var to an equal universal region. So if we have equated `'static == '1 == '2`, it doesn't resolve `'1` or `'2` to `'static`. Now it does!

Addresses review comment rust-lang/rust#107376 (comment).

r? `@lcnr`
  • Loading branch information
bors committed Mar 8, 2023
2 parents 2759ab6 + 3a38500 commit 7cf08ba
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 7cf08ba

Please sign in to comment.