RPITIT refactor (lower RPITIT as GAT) #90
Labels
deep-dive-proposal
Proposal for a deep-dive discussion meeting
T-types
Add this label so rfcbot knows to poll the types team
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
The text was updated successfully, but these errors were encountered: