2018-08-08 12:28:26 +00:00
|
|
|
error: 1 positional argument in format string, but no arguments were given
|
2020-03-21 07:50:38 +00:00
|
|
|
--> $DIR/macro-comma-behavior.rs:21:23
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | assert_eq!(1, 1, "{}",);
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
error: 1 positional argument in format string, but no arguments were given
|
2020-03-21 07:50:38 +00:00
|
|
|
--> $DIR/macro-comma-behavior.rs:24:23
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | assert_ne!(1, 2, "{}",);
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
error: 1 positional argument in format string, but no arguments were given
|
2020-03-21 07:50:38 +00:00
|
|
|
--> $DIR/macro-comma-behavior.rs:30:29
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | debug_assert_eq!(1, 1, "{}",);
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
error: 1 positional argument in format string, but no arguments were given
|
2020-03-21 07:50:38 +00:00
|
|
|
--> $DIR/macro-comma-behavior.rs:33:29
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | debug_assert_ne!(1, 2, "{}",);
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
error: 1 positional argument in format string, but no arguments were given
|
2020-03-21 07:50:38 +00:00
|
|
|
--> $DIR/macro-comma-behavior.rs:38:18
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | eprint!("{}",);
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
error: 1 positional argument in format string, but no arguments were given
|
2020-12-28 17:15:16 +00:00
|
|
|
--> $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
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | format!("{}",);
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
error: 1 positional argument in format string, but no arguments were given
|
2020-12-28 17:15:16 +00:00
|
|
|
--> $DIR/macro-comma-behavior.rs:52:19
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | format_args!("{}",);
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
error: 1 positional argument in format string, but no arguments were given
|
2020-12-28 17:15:16 +00:00
|
|
|
--> $DIR/macro-comma-behavior.rs:59:17
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | print!("{}",);
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
error: 1 positional argument in format string, but no arguments were given
|
2020-12-28 17:15:16 +00:00
|
|
|
--> $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
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | unimplemented!("{}",);
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
error: 1 positional argument in format string, but no arguments were given
|
2020-12-28 17:15:16 +00:00
|
|
|
--> $DIR/macro-comma-behavior.rs:77:24
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | write!(f, "{}",)?;
|
|
|
|
| ^^
|
|
|
|
|
2020-12-28 17:15:16 +00:00
|
|
|
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
|
2018-12-27 00:07:00 +00:00
|
|
|
|