mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
21 lines
505 B
Plaintext
21 lines
505 B
Plaintext
error: requires at least a format string argument
|
|
--> $DIR/bad-format-args.rs:2:5
|
|
|
|
|
LL | format!();
|
|
| ^^^^^^^^^
|
|
|
|
error: expected `,`, found `1`
|
|
--> $DIR/bad-format-args.rs:3:16
|
|
|
|
|
LL | format!("" 1);
|
|
| ^ expected `,`
|
|
|
|
error: expected one of `,`, `.`, `?`, or an operator, found `1`
|
|
--> $DIR/bad-format-args.rs:4:19
|
|
|
|
|
LL | format!("", 1 1);
|
|
| ^ expected one of `,`, `.`, `?`, or an operator
|
|
|
|
error: aborting due to 3 previous errors
|
|
|