Skip to content

RPITIT refactor (lower RPITIT as GAT) #90

Closed
@spastorino

Description

@spastorino

Summary

We're working on making RPITITs be lowered as GAT. We have landed the work under -Zlower-impl-trait-in-trait-to-assoc-ty.
There's currently a pending issue because the generated GATs are not WF, copied lifetimes are not stated to be equal to the originating lifetime.
There are some alternatives on how we could lower the GAT, copy the lifetime or not, generated where bounds or not, have the GAT containing late-bound lifetimes, etc.
Let's discuss different alternatives and also rust-lang/rust#103449 which avoids copying lifetimes.

Rationale

Metadata

Metadata

Assignees

Labels

T-typesAdd this label so rfcbot knows to poll the types teamdeep-dive-proposalProposal for a deep-dive discussion meeting

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions