Error message could be improved in generic match arm #37282
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.
In the following program instead of underscore, i put a hyphen. The error message i received is misleading. I think it can be improved. What do you guys think?
Here is the playpen
The text was updated successfully, but these errors were encountered: