mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 09:13:07 +03: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.
4 lines
69 B
Rust
4 lines
69 B
Rust
fn main() {
|
|
println!("{}" a); //~ERROR expected `,`, found `a`
|
|
}
|