Unclear error message when using . in format string #122535
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
D-papercut
Diagnostics: An error or lint that needs small tweaks.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: printing of the value 1.
Instead, this happened: it gave the following error:
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: