fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

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