]> git.lizzy.rs Git - rust.git/blob - tests/ui/fmt/issue-91556.rs
Rollup merge of #106715 - BoxyUwU:new_solver_triagebot, r=lcnr
[rust.git] / tests / 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 }