]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-51848.stderr
Rollup merge of #53104 - nivkner:unpin_doc, r=RalfJung
[rust.git] / src / test / ui / issues / issue-51848.stderr
1 error: invalid format string: expected `'}'` but string was terminated
2   --> $DIR/issue-51848.rs:16:20
3    |
4 LL |         println!("{"); //~ ERROR invalid
5    |                    ^ expected `'}'` in format string
6 ...
7 LL |     macro_with_error!();
8    |     -------------------- in this macro invocation
9    |
10    = note: if you intended to print `{`, you can escape it using `{{`
11
12 error: invalid format string: unmatched `}` found
13   --> $DIR/issue-51848.rs:28:15
14    |
15 LL |     println!("}"); //~ ERROR invalid
16    |               ^ unmatched `}` in format string
17    |
18    = note: if you intended to print `}`, you can escape it using `}}`
19
20 error: aborting due to 2 previous errors
21