2016-08-17 09:20:04 -05:00
|
|
|
error: requires at least a format string argument
|
|
|
|
--> $DIR/bad-format-args.rs:12:5
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | format!();
|
2016-08-17 09:20:04 -05:00
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
|
2017-11-21 13:48:35 -06:00
|
|
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
|
2016-08-17 09:20:04 -05:00
|
|
|
|
|
|
|
error: expected token: `,`
|
|
|
|
--> $DIR/bad-format-args.rs:13:5
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | format!("" 1);
|
2016-08-17 09:20:04 -05:00
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-11-21 13:48:35 -06:00
|
|
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
|
2016-08-17 09:20:04 -05:00
|
|
|
|
|
|
|
error: expected token: `,`
|
|
|
|
--> $DIR/bad-format-args.rs:14:5
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | format!("", 1 1);
|
2016-08-17 09:20:04 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-11-21 13:48:35 -06:00
|
|
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
|
2016-08-17 09:20:04 -05:00
|
|
|
|
2017-07-02 05:49:30 -05:00
|
|
|
error: aborting due to 3 previous errors
|
2016-08-17 09:20:04 -05:00
|
|
|
|