summaryrefslogtreecommitdiffstats
path: root/src/test/ui/fmt/issue-91556.stderr
blob: dbd5aef458b8e4591956f8f91c0de1501df9bbc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
error: invalid format string: expected `'}'` but string was terminated
  --> $DIR/issue-91556.rs:2:19
   |
LL |   let _ = format!(concat!("{0}π–³π–Ύπ—Œπ—{"), i);
   |                   ^^^^^^^^^^^^^^^^^^^ expected `'}'` in format string
   |
   = note: if you intended to print `{`, you can escape it using `{{`
   = note: this error originates in the macro `concat` (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to previous error