existential types cannot be defined in terms of themselves at all #53398
Labels
A-impl-trait
Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
F-type_alias_impl_trait
`#[feature(type_alias_impl_trait)]`
requires-nightly
This issue requires a nightly compiler in some way.
I assumed that the following code would be legal, as it does not require indefinitely sized types, but apparently somewhere the existential type is revealed too early:
(Playground)
Errors:
The text was updated successfully, but these errors were encountered: