Closed
Description
When encountering println!("{x}", x)
the user either meant println!("{x}")
or println!("{x}", x=x)
. The later is only likely in <=2018 editions, while the former is what they actually likely wanted. We should suggest it.
Metadata
Assignees
Labels
Area: Messages for errors, warnings, and lintsArea: Suggestions generated by the compiler applied by `cargo fix`Diagnostics: An error or lint that doesn't give enough information about the problem at hand.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Low priorityRelevant to the compiler team, which will review and decide on the PR/issue.