Confusing error message with invalid format specifier #23476
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-syntaxext
Area: Syntax extensions
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
The following code:
(Playpen: http://is.gd/me8pNE)
Gives the error:
It is not too confusing in this short example, but in a longer string it is not obvious that named identifiers cannot start with an underscore.
The text was updated successfully, but these errors were encountered: