mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-23 03:23:33 +00:00
246f1f8a8e
If a comma in a format call is replaced with a similar token, then we emit an error and continue parsing, instead of stopping at this point.
3 lines
69 B
Rust
3 lines
69 B
Rust
fn main() {
|
|
println!("{}" a); //~ERROR expected `,`, found `a`
|
|
}
|