An unused type parameter and an impl in the argument position allows you to define a function that cannot be called #50990
Labels
A-impl-trait
Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.
A-type-system
Area: Type system
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
playground
The text was updated successfully, but these errors were encountered: