Confusing parser error #2191
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-parser
Area: The lexing & parsing of Rust source code to an AST
Milestone
The errors says it was looking for a comma where the open paren is. I stared at at this for a long time wondering why it thought there should be a comma there. Eventually I realized that, even though it 'expected' a comma, there were other possible characters that it would have been happy with as well - in this case
<
.The text was updated successfully, but these errors were encountered: