]>
Commit | Line | Data |
---|---|---|
476ff2be SL |
1 | error: invalid format string: expected `'}'` but string was terminated |
2 | --> $DIR/format-string-error.rs:12:5 | |
3 | | | |
0531ce1d | 4 | LL | 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 | |
10 | error: invalid format string: unmatched `}` found | |
11 | --> $DIR/format-string-error.rs:14:5 | |
12 | | | |
0531ce1d | 13 | LL | 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 | 19 | error: aborting due to 2 previous errors |
476ff2be | 20 |