rust/src/test/ui/codemap_tests/bad-format-args.stderr

23 lines
556 B
Plaintext
Raw Normal View History

error: requires at least a format string argument
2018-12-25 15:56:47 +00:00
--> $DIR/bad-format-args.rs:2:5
|
2019-03-09 12:03:44 +00:00
LL | format!();
| ^^^^^^^^^^
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error: expected token: `,`
2018-12-25 15:56:47 +00:00
--> $DIR/bad-format-args.rs:3:16
|
2019-03-09 12:03:44 +00:00
LL | format!("" 1);
| ^
error: expected token: `,`
2018-12-25 15:56:47 +00:00
--> $DIR/bad-format-args.rs:4:19
|
2019-03-09 12:03:44 +00:00
LL | format!("", 1 1);
| ^
error: aborting due to 3 previous errors