min_type_alias_impl_trait
doesn't report an error when impl Trait is used in a struct field
#86732
Labels
F-type_alias_impl_trait
`#[feature(type_alias_impl_trait)]`
I-needs-decision
Issue: In need of a decision.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This example (playground):
should report an error because the use of
X
in that position is not permitted withmin_type_alias_impl_trait
. But it does not.(Spun out from #64445)
The text was updated successfully, but these errors were encountered: