E0122 "trait bounds are not (yet) enforced in type definitions" not triggered by where
clauses
#39122
Labels
A-type-system
Area: Type system
E-help-wanted
Call for participation: Help is requested to fix this issue.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
As this playpen shows, diagnostic E0122 does not catch trait bounds introduced via
where
clauses.Specifically,
triggers a warning, but
does not.
The text was updated successfully, but these errors were encountered: