2016-11-10 14:48:55 -06:00
|
|
|
error: invalid format string: expected `'}'` but string was terminated
|
|
|
|
--> $DIR/format-string-error.rs:12:5
|
|
|
|
|
|
|
|
|
12 | println!("{");
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: if you intended to print `{`, you can escape it using `{{`
|
2017-11-18 14:16:10 -06:00
|
|
|
= note: this error originates in a macro outside of the current crate (run with -Z macro-backtrace for more info)
|
2016-11-10 14:48:55 -06:00
|
|
|
|
|
|
|
error: invalid format string: unmatched `}` found
|
|
|
|
--> $DIR/format-string-error.rs:14:5
|
|
|
|
|
|
|
|
|
14 | println!("}");
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: if you intended to print `}`, you can escape it using `}}`
|
2017-11-18 14:16:10 -06:00
|
|
|
= note: this error originates in a macro outside of the current crate (run with -Z macro-backtrace for more info)
|
2016-11-10 14:48:55 -06:00
|
|
|
|
2017-07-02 05:49:30 -05:00
|
|
|
error: aborting due to 2 previous errors
|
2016-11-10 14:48:55 -06:00
|
|
|
|