named_arguments_used_positionally suggestion does not take into account debug displaying #100648
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.
Uh oh!
There was an error while loading. Please reload this page.
The suggestion that rustc gives is incorrect and seems to not take into account what characters are in the format argument.
I tried this code:
I expected to see this happen:
Instead, this happened:
Meta
Using beta.2/nightly
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: