Skip to content

Pull implied bound computation out of borrowck#152051

Draft
tiif wants to merge 9 commits intorust-lang:mainfrom
tiif:implied-bound-opaque
Draft

Pull implied bound computation out of borrowck#152051
tiif wants to merge 9 commits intorust-lang:mainfrom
tiif:implied-bound-opaque

Conversation

@tiif
Copy link
Member

@tiif tiif commented Feb 3, 2026

Open this draft PR so it's easier to discuss, feel free to point out any logic / soundness / error handling issues :>

Current status:

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Feb 3, 2026
@rust-log-analyzer

This comment has been minimized.

Copy link
Member Author

@tiif tiif Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change in this file is mainly duplicating the existing function to not use nll var. The new implied bound query needs these functions, but it doesn't makes sense to use nll var there. boxy gave some ideas on how to deduplicate this, but I haven't got to it yet.

@rust-bors

This comment has been minimized.

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

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. 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.

3 participants