11error: redundant argument
2- --> $DIR/issue-105225.rs:5 :21
2+ --> $DIR/issue-105225.rs:7 :21
33 |
44LL | println!("{x}", x);
55 | ^ help: this can be removed
66 |
77note: the formatting specifier is referencing the binding already
8- --> $DIR/issue-105225.rs:5 :16
8+ --> $DIR/issue-105225.rs:7 :16
99 |
1010LL | println!("{x}", x);
1111 | ^
1212
1313error: redundant argument
14- --> $DIR/issue-105225.rs:8 :27
14+ --> $DIR/issue-105225.rs:10 :27
1515 |
1616LL | println!("{x} {}", x, x);
1717 | ^ help: this can be removed
1818 |
1919note: the formatting specifier is referencing the binding already
20- --> $DIR/issue-105225.rs:8 :16
20+ --> $DIR/issue-105225.rs:10 :16
2121 |
2222LL | println!("{x} {}", x, x);
2323 | ^
2424
2525error: redundant argument
26- --> $DIR/issue-105225.rs:11 :27
26+ --> $DIR/issue-105225.rs:13 :27
2727 |
2828LL | println!("{} {x}", x, x);
2929 | ^ help: this can be removed
3030 |
3131note: the formatting specifier is referencing the binding already
32- --> $DIR/issue-105225.rs:11 :19
32+ --> $DIR/issue-105225.rs:13 :19
3333 |
3434LL | println!("{} {x}", x, x);
3535 | ^
3636
3737error: redundant arguments
38- --> $DIR/issue-105225.rs:14 :25
38+ --> $DIR/issue-105225.rs:16 :25
3939 |
4040LL | println!("{x} {y}", x, y);
4141 | ^ ^
4242 |
4343note: the formatting specifiers are referencing the bindings already
44- --> $DIR/issue-105225.rs:14 :16
44+ --> $DIR/issue-105225.rs:16 :16
4545 |
4646LL | println!("{x} {y}", x, y);
4747 | ^ ^
@@ -52,13 +52,13 @@ LL + println!("{x} {y}", );
5252 |
5353
5454error: redundant arguments
55- --> $DIR/issue-105225.rs:17 :43
55+ --> $DIR/issue-105225.rs:19 :43
5656 |
5757LL | println!("{} {} {x} {y} {}", x, x, x, y, y);
5858 | ^ ^
5959 |
6060note: the formatting specifiers are referencing the bindings already
61- --> $DIR/issue-105225.rs:17 :26
61+ --> $DIR/issue-105225.rs:19 :26
6262 |
6363LL | println!("{} {} {x} {y} {}", x, x, x, y, y);
6464 | ^
0 commit comments