Goofy error when destructuring via Box pattern #38700
Labels
P-medium
Medium priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Consider this code:
on the playpen, it yields the error:
This is probably an artifact of how we partially treat Boxes as a built-in language feature within the compiler. Nonetheless, we could do better with the message here.
The text was updated successfully, but these errors were encountered: