Support for partial existentials in TAIT #69323
Labels
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
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.
[playground] (Tracking issue)
With RPIT, it is possible to create a "partial existential":
With TAIT, however, this currently produces an error:
This should probably be possible, both for concept parity for factoring unnamed RPIT out into named TAIT, and because this "partial existential" allows parameterizing partial existentials over input types in a way that allows input-type-dependent trait implementation.
The text was updated successfully, but these errors were encountered: