mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-10 22:13:27 +00:00
![Sasha](/assets/img/avatar_default.png)
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.
9 lines
204 B
Plaintext
9 lines
204 B
Plaintext
error: expected `,`, found `a`
|
|
--> $DIR/issue-3145.rs:2:19
|
|
|
|
|
LL | println!("{}" a); //~ERROR expected `,`, found `a`
|
|
| ^ expected `,`
|
|
|
|
error: aborting due to previous error
|
|
|