]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error: 1 positional argument in format string, but no arguments were given |
1b1a35ee | 2 | --> $DIR/macro-comma-behavior.rs:21:23 |
b7449926 XL |
3 | | |
4 | LL | assert_eq!(1, 1, "{}",); | |
5 | | ^^ | |
6 | ||
7 | error: 1 positional argument in format string, but no arguments were given | |
1b1a35ee | 8 | --> $DIR/macro-comma-behavior.rs:24:23 |
b7449926 XL |
9 | | |
10 | LL | assert_ne!(1, 2, "{}",); | |
11 | | ^^ | |
12 | ||
13 | error: 1 positional argument in format string, but no arguments were given | |
1b1a35ee | 14 | --> $DIR/macro-comma-behavior.rs:30:29 |
b7449926 XL |
15 | | |
16 | LL | debug_assert_eq!(1, 1, "{}",); | |
17 | | ^^ | |
18 | ||
19 | error: 1 positional argument in format string, but no arguments were given | |
1b1a35ee | 20 | --> $DIR/macro-comma-behavior.rs:33:29 |
b7449926 XL |
21 | | |
22 | LL | debug_assert_ne!(1, 2, "{}",); | |
23 | | ^^ | |
24 | ||
25 | error: 1 positional argument in format string, but no arguments were given | |
1b1a35ee | 26 | --> $DIR/macro-comma-behavior.rs:38:18 |
b7449926 XL |
27 | | |
28 | LL | eprint!("{}",); | |
29 | | ^^ | |
30 | ||
31 | error: 1 positional argument in format string, but no arguments were given | |
1b1a35ee | 32 | --> $DIR/macro-comma-behavior.rs:50:18 |
b7449926 XL |
33 | | |
34 | LL | format!("{}",); | |
35 | | ^^ | |
36 | ||
37 | error: 1 positional argument in format string, but no arguments were given | |
1b1a35ee | 38 | --> $DIR/macro-comma-behavior.rs:54:19 |
b7449926 XL |
39 | | |
40 | LL | format_args!("{}",); | |
41 | | ^^ | |
42 | ||
43 | error: 1 positional argument in format string, but no arguments were given | |
1b1a35ee | 44 | --> $DIR/macro-comma-behavior.rs:61:17 |
b7449926 XL |
45 | | |
46 | LL | print!("{}",); | |
47 | | ^^ | |
48 | ||
49 | error: 1 positional argument in format string, but no arguments were given | |
1b1a35ee | 50 | --> $DIR/macro-comma-behavior.rs:72:21 |
b7449926 XL |
51 | | |
52 | LL | unimplemented!("{}",); | |
53 | | ^^ | |
54 | ||
55 | error: 1 positional argument in format string, but no arguments were given | |
1b1a35ee | 56 | --> $DIR/macro-comma-behavior.rs:81:24 |
b7449926 XL |
57 | | |
58 | LL | write!(f, "{}",)?; | |
59 | | ^^ | |
60 | ||
61 | error: aborting due to 10 previous errors | |
62 |