]> git.proxmox.com Git - rustc.git/blame - src/test/ui/codemap_tests/bad-format-args.stderr
New upstream version 1.30.0~beta.7+dfsg1
[rustc.git] / src / test / ui / codemap_tests / bad-format-args.stderr
CommitLineData
9e0c209e
SL
1error: requires at least a format string argument
2 --> $DIR/bad-format-args.rs:12:5
3 |
8faf50e0 4LL | 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
9error: expected token: `,`
b7449926 10 --> $DIR/bad-format-args.rs:13:16
9e0c209e 11 |
8faf50e0 12LL | format!("" 1); //~ ERROR expected token: `,`
b7449926 13 | ^
9e0c209e
SL
14
15error: expected token: `,`
b7449926 16 --> $DIR/bad-format-args.rs:14:19
9e0c209e 17 |
8faf50e0 18LL | format!("", 1 1); //~ ERROR expected token: `,`
b7449926 19 | ^
9e0c209e 20
041b39d2 21error: aborting due to 3 previous errors
9e0c209e 22