Skip to content

Conversation

@amandasystems
Copy link
Contributor

This ensures all of region inference is immutable, and makes every operation that requires region inference to have been executed to run explicitly require the results.

I have chosen to newtype the results and lightly abstract it from outside viewers, since it's required by some consumers of the compiler internal APIs. Those should be able to find what they need to exercise the features they used to need.

r? @lcnr

This ensures all of region inference is immutable, and makes every
operation that requires region inference to have been executed to run
explicitly require the results.
@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 Jan 26, 2026
@rust-log-analyzer

This comment has been minimized.

@amandasystems amandasystems force-pushed the split-region-inference branch from 6befd69 to 13a57f6 Compare January 26, 2026 14:50
@rust-log-analyzer

This comment has been minimized.

@amandasystems amandasystems force-pushed the split-region-inference branch from 13a57f6 to 00e8121 Compare January 26, 2026 16:12
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.

4 participants