2016-08-17 14:20:04 +00:00
|
|
|
error: requires at least a format string argument
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/bad-format-args.rs:2:5
|
2016-08-17 14:20:04 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | format!();
|
2016-08-17 14:20:04 +00:00
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
|
2017-11-21 19:48:35 +00: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 14:20:04 +00:00
|
|
|
|
|
|
|
error: expected token: `,`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/bad-format-args.rs:3:16
|
2016-08-17 14:20:04 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | format!("" 1);
|
2018-08-07 03:54:51 +00:00
|
|
|
| ^
|
2016-08-17 14:20:04 +00:00
|
|
|
|
|
|
|
error: expected token: `,`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/bad-format-args.rs:4:19
|
2016-08-17 14:20:04 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | format!("", 1 1);
|
2018-08-07 03:54:51 +00:00
|
|
|
| ^
|
2016-08-17 14:20:04 +00:00
|
|
|
|
2017-07-02 10:49:30 +00:00
|
|
|
error: aborting due to 3 previous errors
|
2016-08-17 14:20:04 +00:00
|
|
|
|