Closed
Description
rustc currently uses a "leak-check"-based system for handling higher-ranked bounds. This design has a few flaws (e.g. #33684), and doesn't scale well to quantification over types and other things. @sgrif has been exploring moving to an alternate system, which I am dubbing the "universe" system. This is the system used by chalk.
The currently implementation is in these two PRs:
This issue exists to track the move for now.
Metadata
Metadata
Assignees
Labels
Area: Lifetimes / regionsCategory: An issue proposing an enhancement or a PR with one.Category: An issue tracking the progress of sth. like the implementation of an RFCRelevant to the compiler team, which will review and decide on the PR/issue.Working group: Traits, https://internals.rust-lang.org/t/announcing-traits-working-group/6804