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

45 lines
1.3 KiB
Plaintext
Raw Normal View History

2018-08-08 14:28:26 +02:00
error: 1 positional argument in format string, but no arguments were given
2018-12-25 08:56:47 -07:00
--> $DIR/macro-comma-behavior.rs:17:23
2018-08-08 14:28:26 +02:00
|
LL | assert_eq!(1, 1, "{}",);
| ^^
error: 1 positional argument in format string, but no arguments were given
2018-12-25 08:56:47 -07:00
--> $DIR/macro-comma-behavior.rs:20:23
2018-08-08 14:28:26 +02:00
|
LL | assert_ne!(1, 2, "{}",);
| ^^
error: 1 positional argument in format string, but no arguments were given
2018-12-25 08:56:47 -07:00
--> $DIR/macro-comma-behavior.rs:26:29
2018-08-08 14:28:26 +02:00
|
LL | debug_assert_eq!(1, 1, "{}",);
| ^^
error: 1 positional argument in format string, but no arguments were given
2018-12-25 08:56:47 -07:00
--> $DIR/macro-comma-behavior.rs:29:29
2018-08-08 14:28:26 +02:00
|
LL | debug_assert_ne!(1, 2, "{}",);
| ^^
error: 1 positional argument in format string, but no arguments were given
2018-12-25 08:56:47 -07:00
--> $DIR/macro-comma-behavior.rs:50:19
2018-08-08 14:28:26 +02:00
|
LL | format_args!("{}",);
| ^^
error: 1 positional argument in format string, but no arguments were given
2018-12-25 08:56:47 -07:00
--> $DIR/macro-comma-behavior.rs:68:21
2018-08-08 14:28:26 +02:00
|
LL | unimplemented!("{}",);
| ^^
error: 1 positional argument in format string, but no arguments were given
2018-12-25 08:56:47 -07:00
--> $DIR/macro-comma-behavior.rs:77:24
2018-08-08 14:28:26 +02:00
|
LL | write!(f, "{}",)?;
| ^^
error: aborting due to 7 previous errors