]>
Commit | Line | Data |
---|---|---|
9e0c209e SL |
1 | error: requires at least a format string argument |
2 | --> $DIR/bad-format-args.rs:12:5 | |
3 | | | |
8faf50e0 | 4 | LL | format!(); //~ ERROR requires at least a format string argument |
9e0c209e SL |
5 | | ^^^^^^^^^^ |
6 | | | |
ff7c6d11 | 7 | = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) |
9e0c209e SL |
8 | |
9 | error: expected token: `,` | |
b7449926 | 10 | --> $DIR/bad-format-args.rs:13:16 |
9e0c209e | 11 | | |
8faf50e0 | 12 | LL | format!("" 1); //~ ERROR expected token: `,` |
b7449926 | 13 | | ^ |
9e0c209e SL |
14 | |
15 | error: expected token: `,` | |
b7449926 | 16 | --> $DIR/bad-format-args.rs:14:19 |
9e0c209e | 17 | | |
8faf50e0 | 18 | LL | format!("", 1 1); //~ ERROR expected token: `,` |
b7449926 | 19 | | ^ |
9e0c209e | 20 | |
041b39d2 | 21 | error: aborting due to 3 previous errors |
9e0c209e | 22 |