fn main() {
dbg!(5, 10); // error: no rules expected the token `,`
}
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.
Or we could just make the macro accept dbg!(5, 10)...
Most helpful comment
Or we could just make the macro accept
dbg!(5, 10)...