mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-23 04:14:28 +00:00

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.
4 lines
69 B
Rust
4 lines
69 B
Rust
fn main() {
|
|
println!("{}" a); //~ERROR expected `,`, found `a`
|
|
}
|