diff options
author | bors <bors@rust-lang.org> | 2023-03-08 12:33:21 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2023-03-08 12:33:21 +0000 |
commit | 7c306f6dcd600b1fcc74439c780e8ebef338d84c (patch) | |
tree | 4c000abdf7f1571a271bab6367af229680b3dd62 /tests/rustdoc-js-std/parser-errors.js | |
parent | 60445fda58fc9f9aa413752530d6756ae5570f2f (diff) | |
parent | 0b232d022ff283d4c7118c0d205000a937121a02 (diff) | |
download | rust-7c306f6dcd600b1fcc74439c780e8ebef338d84c.tar.gz |
Auto merge of #108121 - aliemjay:resolve-var-region, r=lcnr
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 https://github.com/rust-lang/rust/pull/107376#discussion_r1093233687.
r? `@lcnr`
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions