mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 07:00:55 +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`
|
|
}
|