]> git.lizzy.rs Git - rust.git/blob - src/test/ui/fmt/issue-91556.rs
Auto merge of #86988 - thomcc:chunky-splitz-says-no-checking, r=the8472
[rust.git] / src / test / ui / fmt / issue-91556.rs
1 fn main() {
2   let _ = format!(concat!("{0}π–³π–Ύπ—Œπ—{"), i);
3   //~^ ERROR: invalid format string: expected `'}'` but string was terminated
4   //~| NOTE: if you intended to print `{`, you can escape it using `{{`
5   //~| NOTE: in this expansion of concat!
6   //~| NOTE: in this expansion of concat!
7   //~| NOTE: expected `'}'` in format string
8 }