rust/src/test/ui/macros/macro-comma-behavior.std.stderr

63 lines
1.8 KiB
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error: 1 positional argument in format string, but no arguments were given
2020-01-27 00:10:10 -06:00
--> $DIR/macro-comma-behavior.rs:20:23
2018-08-08 07:28:26 -05:00
|
LL | assert_eq!(1, 1, "{}",);
| ^^
error: 1 positional argument in format string, but no arguments were given
2020-01-27 00:10:10 -06:00
--> $DIR/macro-comma-behavior.rs:23:23
2018-08-08 07:28:26 -05:00
|
LL | assert_ne!(1, 2, "{}",);
| ^^
error: 1 positional argument in format string, but no arguments were given
2020-01-27 00:10:10 -06:00
--> $DIR/macro-comma-behavior.rs:29:29
2018-08-08 07:28:26 -05:00
|
LL | debug_assert_eq!(1, 1, "{}",);
| ^^
error: 1 positional argument in format string, but no arguments were given
2020-01-27 00:10:10 -06:00
--> $DIR/macro-comma-behavior.rs:32:29
2018-08-08 07:28:26 -05:00
|
LL | debug_assert_ne!(1, 2, "{}",);
| ^^
error: 1 positional argument in format string, but no arguments were given
2020-01-27 00:10:10 -06:00
--> $DIR/macro-comma-behavior.rs:37:18
2018-08-08 07:28:26 -05:00
|
LL | eprint!("{}",);
| ^^
error: 1 positional argument in format string, but no arguments were given
2020-01-27 00:10:10 -06:00
--> $DIR/macro-comma-behavior.rs:49:18
2018-08-08 07:28:26 -05:00
|
LL | format!("{}",);
| ^^
error: 1 positional argument in format string, but no arguments were given
2020-01-27 00:10:10 -06:00
--> $DIR/macro-comma-behavior.rs:53:19
2018-08-08 07:28:26 -05:00
|
LL | format_args!("{}",);
| ^^
error: 1 positional argument in format string, but no arguments were given
2020-01-27 00:10:10 -06:00
--> $DIR/macro-comma-behavior.rs:60:17
2018-08-08 07:28:26 -05:00
|
LL | print!("{}",);
| ^^
error: 1 positional argument in format string, but no arguments were given
2020-01-27 00:10:10 -06:00
--> $DIR/macro-comma-behavior.rs:71:21
2018-08-08 07:28:26 -05:00
|
LL | unimplemented!("{}",);
| ^^
error: 1 positional argument in format string, but no arguments were given
2020-01-27 00:10:10 -06:00
--> $DIR/macro-comma-behavior.rs:80:24
2018-08-08 07:28:26 -05:00
|
LL | write!(f, "{}",)?;
| ^^
error: aborting due to 10 previous errors
2018-12-26 18:07:00 -06:00