mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
81 lines
2.4 KiB
Plaintext
81 lines
2.4 KiB
Plaintext
error: 1 positional argument in format string, but no arguments were given
|
|
--> $DIR/macro-comma-behavior.rs:21:23
|
|
|
|
|
LL | assert_eq!(1, 1, "{}",);
|
|
| ^^
|
|
|
|
error: 1 positional argument in format string, but no arguments were given
|
|
--> $DIR/macro-comma-behavior.rs:24:23
|
|
|
|
|
LL | assert_ne!(1, 2, "{}",);
|
|
| ^^
|
|
|
|
error: 1 positional argument in format string, but no arguments were given
|
|
--> $DIR/macro-comma-behavior.rs:30:29
|
|
|
|
|
LL | debug_assert_eq!(1, 1, "{}",);
|
|
| ^^
|
|
|
|
error: 1 positional argument in format string, but no arguments were given
|
|
--> $DIR/macro-comma-behavior.rs:33:29
|
|
|
|
|
LL | debug_assert_ne!(1, 2, "{}",);
|
|
| ^^
|
|
|
|
error: 1 positional argument in format string, but no arguments were given
|
|
--> $DIR/macro-comma-behavior.rs:38:18
|
|
|
|
|
LL | eprint!("{}",);
|
|
| ^^
|
|
|
|
error: 1 positional argument in format string, but no arguments were given
|
|
--> $DIR/macro-comma-behavior.rs:43:20
|
|
|
|
|
LL | eprintln!("{}",);
|
|
| ^^
|
|
|
|
error: 1 positional argument in format string, but no arguments were given
|
|
--> $DIR/macro-comma-behavior.rs:48:18
|
|
|
|
|
LL | format!("{}",);
|
|
| ^^
|
|
|
|
error: 1 positional argument in format string, but no arguments were given
|
|
--> $DIR/macro-comma-behavior.rs:52:19
|
|
|
|
|
LL | format_args!("{}",);
|
|
| ^^
|
|
|
|
error: 1 positional argument in format string, but no arguments were given
|
|
--> $DIR/macro-comma-behavior.rs:59:17
|
|
|
|
|
LL | print!("{}",);
|
|
| ^^
|
|
|
|
error: 1 positional argument in format string, but no arguments were given
|
|
--> $DIR/macro-comma-behavior.rs:64:19
|
|
|
|
|
LL | println!("{}",);
|
|
| ^^
|
|
|
|
error: 1 positional argument in format string, but no arguments were given
|
|
--> $DIR/macro-comma-behavior.rs:68:21
|
|
|
|
|
LL | unimplemented!("{}",);
|
|
| ^^
|
|
|
|
error: 1 positional argument in format string, but no arguments were given
|
|
--> $DIR/macro-comma-behavior.rs:77:24
|
|
|
|
|
LL | write!(f, "{}",)?;
|
|
| ^^
|
|
|
|
error: 1 positional argument in format string, but no arguments were given
|
|
--> $DIR/macro-comma-behavior.rs:81:26
|
|
|
|
|
LL | writeln!(f, "{}",)?;
|
|
| ^^
|
|
|
|
error: aborting due to 13 previous errors
|
|
|