2021-12-05 15:55:41 -08:00
|
|
|
|
fn main() {
|
|
|
|
|
|
let _ = format!(concat!("{0}𝖳𝖾𝗌𝗍{"), i);
|
2024-10-14 23:22:51 +02:00
|
|
|
|
//~^ ERROR: invalid format string: expected `}` but string was terminated
|
2021-12-05 15:55:41 -08:00
|
|
|
|
//~| NOTE: if you intended to print `{`, you can escape it using `{{`
|
|
|
|
|
|
//~| NOTE: in this expansion of concat!
|
|
|
|
|
|
//~| NOTE: in this expansion of concat!
|
2024-10-14 23:22:51 +02:00
|
|
|
|
//~| NOTE: expected `}` in format string
|
2021-12-05 15:55:41 -08:00
|
|
|
|
}
|