Compiler bad error message: E0277 error in Diesel #58968
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
And was expecting to get an error message something like:
Instead i got an misleading error:
The text was updated successfully, but these errors were encountered: