Implement type- and const-generic associated types #67513
Labels
A-GATs
Area: Generic associated types (GATs)
C-feature-accepted
Category: A feature request that has been accepted pending implementation.
E-hard
Call for participation: Hard difficulty. Experience needed to fix: A lot.
F-generic_associated_types
`#![feature(generic_associated_types)]` a.k.a. GATs
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The compiler errors for the following code:
This is due to the compiler having no way to represent the implicit
for<T: Sized> Y<T>: Sized
bound on the trait. Some things that would need to be fixed before this can happen are:for<T> if T: Sized { Y<T>: Sized }
.cc @rust-lang/wg-traits
The text was updated successfully, but these errors were encountered: