]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error: 1 positional argument in format string, but no arguments were given |
ba9703b0 | 2 | --> $DIR/macro-comma-behavior.rs:20: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 | |
ba9703b0 | 8 | --> $DIR/macro-comma-behavior.rs:23: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 | |
ba9703b0 | 14 | --> $DIR/macro-comma-behavior.rs:29: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 | |
ba9703b0 | 20 | --> $DIR/macro-comma-behavior.rs:32: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 | |
ba9703b0 | 26 | --> $DIR/macro-comma-behavior.rs:37:18 |
b7449926 XL |
27 | | |
28 | LL | eprint!("{}",); | |
29 | | ^^ | |
30 | ||
31 | error: 1 positional argument in format string, but no arguments were given | |
ba9703b0 | 32 | --> $DIR/macro-comma-behavior.rs:49:18 |
b7449926 XL |
33 | | |
34 | LL | format!("{}",); | |
35 | | ^^ | |
36 | ||
37 | error: 1 positional argument in format string, but no arguments were given | |
ba9703b0 | 38 | --> $DIR/macro-comma-behavior.rs:53:19 |
b7449926 XL |
39 | | |
40 | LL | format_args!("{}",); | |
41 | | ^^ | |
42 | ||
43 | error: 1 positional argument in format string, but no arguments were given | |
ba9703b0 | 44 | --> $DIR/macro-comma-behavior.rs:60:17 |
b7449926 XL |
45 | | |
46 | LL | print!("{}",); | |
47 | | ^^ | |
48 | ||
49 | error: 1 positional argument in format string, but no arguments were given | |
ba9703b0 | 50 | --> $DIR/macro-comma-behavior.rs:71:21 |
b7449926 XL |
51 | | |
52 | LL | unimplemented!("{}",); | |
53 | | ^^ | |
54 | ||
55 | error: 1 positional argument in format string, but no arguments were given | |
ba9703b0 | 56 | --> $DIR/macro-comma-behavior.rs:80:24 |
b7449926 XL |
57 | | |
58 | LL | write!(f, "{}",)?; | |
59 | | ^^ | |
60 | ||
61 | error: aborting due to 10 previous errors | |
62 |