summaryrefslogtreecommitdiffstats
path: root/src/test/ui/fmt/format-concat-span.stderr
blob: da46f40abcb97ffde2de181d4aca65fa1771b28e (plain)
1
2
3
4
5
6
7
8
9
10
11
error: invalid format string: unmatched `}` found
  --> $DIR/format-concat-span.rs:13:13
   |
LL |     format!(concat!("abc}"));
   |             ^^^^^^^^^^^^^^^ unmatched `}` 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