printing non-existent same name variable as struct field with format_args_implicits
feature suggests incorrect self.field_name
#123232
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-fmt
Area: `core::fmt`
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
A-resolve
Area: Name/path resolution done by `rustc_resolve` specifically
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
(Something like that, my formatting is probably off, but it should get the idea across)
Rationale and extra context
No response
Other cases
No response
Rust Version
Anything else?
No response
The text was updated successfully, but these errors were encountered: