Box "doesn't have a size known at compile-time" wrong diagnostic #63143
Labels
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.
If I do ...
I get the following error ...
I think the right error should be ...
Is not that
Box
is notSized
, the problem is that the parameter of theBox
'snew
function is notSized
. So the last note in the error is important and also kind of lost in a lot of noise.Possibly related to #61860.
The text was updated successfully, but these errors were encountered: