1
1
error: redundant argument
2
- --> $DIR/issue-105225.rs:5 :21
2
+ --> $DIR/issue-105225.rs:7 :21
3
3
|
4
4
LL | println!("{x}", x);
5
5
| ^ help: this can be removed
6
6
|
7
7
note: the formatting specifier is referencing the binding already
8
- --> $DIR/issue-105225.rs:5 :16
8
+ --> $DIR/issue-105225.rs:7 :16
9
9
|
10
10
LL | println!("{x}", x);
11
11
| ^
12
12
13
13
error: redundant argument
14
- --> $DIR/issue-105225.rs:8 :27
14
+ --> $DIR/issue-105225.rs:10 :27
15
15
|
16
16
LL | println!("{x} {}", x, x);
17
17
| ^ help: this can be removed
18
18
|
19
19
note: the formatting specifier is referencing the binding already
20
- --> $DIR/issue-105225.rs:8 :16
20
+ --> $DIR/issue-105225.rs:10 :16
21
21
|
22
22
LL | println!("{x} {}", x, x);
23
23
| ^
24
24
25
25
error: redundant argument
26
- --> $DIR/issue-105225.rs:11 :27
26
+ --> $DIR/issue-105225.rs:13 :27
27
27
|
28
28
LL | println!("{} {x}", x, x);
29
29
| ^ help: this can be removed
30
30
|
31
31
note: the formatting specifier is referencing the binding already
32
- --> $DIR/issue-105225.rs:11 :19
32
+ --> $DIR/issue-105225.rs:13 :19
33
33
|
34
34
LL | println!("{} {x}", x, x);
35
35
| ^
36
36
37
37
error: redundant arguments
38
- --> $DIR/issue-105225.rs:14 :25
38
+ --> $DIR/issue-105225.rs:16 :25
39
39
|
40
40
LL | println!("{x} {y}", x, y);
41
41
| ^ ^
42
42
|
43
43
note: the formatting specifiers are referencing the bindings already
44
- --> $DIR/issue-105225.rs:14 :16
44
+ --> $DIR/issue-105225.rs:16 :16
45
45
|
46
46
LL | println!("{x} {y}", x, y);
47
47
| ^ ^
@@ -52,13 +52,13 @@ LL + println!("{x} {y}", );
52
52
|
53
53
54
54
error: redundant arguments
55
- --> $DIR/issue-105225.rs:17 :43
55
+ --> $DIR/issue-105225.rs:19 :43
56
56
|
57
57
LL | println!("{} {} {x} {y} {}", x, x, x, y, y);
58
58
| ^ ^
59
59
|
60
60
note: the formatting specifiers are referencing the bindings already
61
- --> $DIR/issue-105225.rs:17 :26
61
+ --> $DIR/issue-105225.rs:19 :26
62
62
|
63
63
LL | println!("{} {} {x} {y} {}", x, x, x, y, y);
64
64
| ^
0 commit comments