Incorrect error message: type parameter needs to be Sized, despite explicit bound #74149
Labels
A-const-generics
Area: const generics (parameters and arguments)
A-lazy-normalization
Area: Lazy normalization (tracking issue: #60471)
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
D-newcomer-roadblock
Diagnostics: Confusing error or lint; hard to understand for new users.
For the code below, the compiler complains that
Item
needs to beSized
, despite that being an explicitly-stated bound.(Playground)
Errors:
The text was updated successfully, but these errors were encountered: