Skip to content

🔬 move to universe-based lifetimes #48536

Closed
@nikomatsakis

Description

@nikomatsakis

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.

Metadata

Metadata

Assignees

Labels

A-lifetimesArea: Lifetimes / regionsC-enhancementCategory: An issue proposing an enhancement or a PR with one.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.WG-traitsWorking group: Traits, https://internals.rust-lang.org/t/announcing-traits-working-group/6804

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions