🔬 move to universe-based lifetimes #48536
Labels
A-lifetimes
Area: Lifetimes / regions
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
C-tracking-issue
Category: An issue tracking the progress of sth. like the implementation of an RFC
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
WG-traits
Working group: Traits, https://internals.rust-lang.org/t/announcing-traits-working-group/6804
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:
#47861
#48407
This issue exists to track the move for now.
The text was updated successfully, but these errors were encountered: