Confused by the error message #49964
Labels
A-const-eval
Area: Constant evaluation, covers all const contexts (static, const fn, ...)
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I'm trying to write this code:
rustc
gives this error message:This is confusing because
T
already haveSized
.The text was updated successfully, but these errors were encountered: