mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
9 lines
348 B
Rust
9 lines
348 B
Rust
fn main() {
|
||
let _ = format!(concat!("{0}𝖳𝖾𝗌𝗍{"), i);
|
||
//~^ ERROR: invalid format string: expected `'}'` but string was terminated
|
||
//~| NOTE: if you intended to print `{`, you can escape it using `{{`
|
||
//~| NOTE: in this expansion of concat!
|
||
//~| NOTE: in this expansion of concat!
|
||
//~| NOTE: expected `'}'` in format string
|
||
}
|