2016-08-17 09:20:04 -05:00
|
|
|
error: requires at least a format string argument
|
|
|
|
--> $DIR/bad-format-args.rs:12:5
|
|
|
|
|
|
|
|
|
12 | format!();
|
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
|
2016-09-15 12:12:56 -05:00
|
|
|
= note: this error originates in a macro outside of the current crate
|
2016-08-17 09:20:04 -05:00
|
|
|
|
|
|
|
error: expected token: `,`
|
|
|
|
--> $DIR/bad-format-args.rs:13:5
|
|
|
|
|
|
|
|
|
13 | format!("" 1);
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
2016-09-15 12:12:56 -05:00
|
|
|
= note: this error originates in a macro outside of the current crate
|
2016-08-17 09:20:04 -05:00
|
|
|
|
|
|
|
error: expected token: `,`
|
|
|
|
--> $DIR/bad-format-args.rs:14:5
|
|
|
|
|
|
|
|
|
14 | format!("", 1 1);
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2016-09-15 12:12:56 -05:00
|
|
|
= note: this error originates in a macro outside of the current crate
|
2016-08-17 09:20:04 -05:00
|
|
|
|
2017-05-22 06:46:05 -05:00
|
|
|
error: aborting due to previous error(s)
|
2016-08-17 09:20:04 -05:00
|
|
|
|