rustc doesn't check nested WFness if it's in a higher-ranked predicate
Open
Nobody has claimed this yet.
A-higher-ranked
T-types
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.2k
- PR merge metrics
- PR metrics pending
Description
https://github.com/rust-lang/rust/pull/122501#issue-2186819021
This will probably end up complicating implied bounds computation in binders?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked pull request and its referenced issue discussion. Investigate how rustc checks nested well-formedness in higher-ranked predicates and how that interacts with implied-bound computation. Done means the reported missing check is understood and addressed with validation that the nested WFness case is handled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100