]> git.proxmox.com Git - rustc.git/blame - src/test/ui/fmt/format-string-error.stderr
New upstream version 1.27.2+dfsg1
[rustc.git] / src / test / ui / fmt / format-string-error.stderr
CommitLineData
476ff2be
SL
1error: invalid format string: expected `'}'` but string was terminated
2 --> $DIR/format-string-error.rs:12:5
3 |
0531ce1d 4LL | println!("{");
476ff2be
SL
5 | ^^^^^^^^^^^^^^
6 |
7 = note: if you intended to print `{`, you can escape it using `{{`
ff7c6d11 8 = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
476ff2be
SL
9
10error: invalid format string: unmatched `}` found
11 --> $DIR/format-string-error.rs:14:5
12 |
0531ce1d 13LL | println!("}");
476ff2be
SL
14 | ^^^^^^^^^^^^^^
15 |
16 = note: if you intended to print `}`, you can escape it using `}}`
ff7c6d11 17 = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
476ff2be 18
041b39d2 19error: aborting due to 2 previous errors
476ff2be 20