Skip to content

Treat identity region outlives as true - #161963

Open
adwinwhite wants to merge 1 commit into
rust-lang:mainfrom
adwinwhite:identity-region-outlives
Open

Treat identity region outlives as true#161963
adwinwhite wants to merge 1 commit into
rust-lang:mainfrom
adwinwhite:identity-region-outlives

Conversation

@adwinwhite

@adwinwhite adwinwhite commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Fixes #161733

We rewrite region outlives to Or by combining upper bounds of one region and lower bounds of the other. However, regions in identity region outlives may have no relation to other regions. So it was considered as false.

An alternative is to eagerly handle identity region outlives at the construction sites. That's a lot and covering all current and future creation is difficult.

The real purpose of this PR is to play with the new DSL :3
r? @khyperia

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Aug 29, 2026
@adwinwhite

adwinwhite commented Aug 29, 2026

Copy link
Copy Markdown
Contributor Author

Just found out this is a tracked issue - rust-lang/project-assumptions-on-binders#19
I checked through them except ones with deps. Only #145127 and #149407 are fixed by this PR. syn is not fixed.
cc @BoxyUwU

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ICE]: error performing operation: fully_perform

3 participants