]> git.lizzy.rs Git - rust.git/blob - tests/ui/fmt/format-expanded-string.stderr
Rollup merge of #106397 - compiler-errors:new-solver-impl-wc, r=lcnr
[rust.git] / tests / ui / fmt / format-expanded-string.stderr
1 error: invalid format string: unmatched `}` found
2   --> $DIR/format-expanded-string.rs:19:13
3    |
4 LL |     format!(concat!("abc}"));
5    |             ^^^^^^^^^^^^^^^ unmatched `}` in format string
6    |
7    = note: if you intended to print `}`, you can escape it using `}}`
8    = note: this error originates in the macro `concat` (in Nightly builds, run with -Z macro-backtrace for more info)
9
10 error: invalid format string: unmatched `}` found
11   --> $DIR/format-expanded-string.rs:22:34
12    |
13 LL |     format!(err_with_input_span!(""));
14    |                                  ^^ unmatched `}` in format string
15    |
16    = note: if you intended to print `}`, you can escape it using `}}`
17
18 error: aborting due to 2 previous errors
19