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