Confusing error message with <
binop
#11962
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The solution is of course to parenthesize the cast so it doesn't get parsed as generics, but the error message does not help at all.
The text was updated successfully, but these errors were encountered: