Suggest parenthesising multiple arguments to dbg!() #59763
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
It would be nice if the compiler suggested the intended form:
dbg!((5, 10))
as this seems like a reasonable mistake. This is specific to a particular macro, though, so I'm not sure how flexible we can be with diagnostics here.The text was updated successfully, but these errors were encountered: