2023-10-04 13:47:53 +00:00
|
|
|
error: redundant argument
|
2023-10-05 12:59:15 +00:00
|
|
|
--> $DIR/issue-105225.rs:7:21
|
2023-08-28 16:37:03 +00:00
|
|
|
|
|
|
|
|
LL | println!("{x}", x);
|
2023-10-05 12:36:50 +00:00
|
|
|
| ^ help: this can be removed
|
2023-08-28 16:37:03 +00:00
|
|
|
|
|
2023-10-04 13:47:53 +00:00
|
|
|
note: the formatting specifier is referencing the binding already
|
2023-10-05 12:59:15 +00:00
|
|
|
--> $DIR/issue-105225.rs:7:16
|
2023-08-28 16:37:03 +00:00
|
|
|
|
|
|
|
|
LL | println!("{x}", x);
|
2023-10-04 13:47:53 +00:00
|
|
|
| ^
|
2023-08-28 16:37:03 +00:00
|
|
|
|
2023-10-04 13:47:53 +00:00
|
|
|
error: redundant argument
|
2023-10-05 12:59:15 +00:00
|
|
|
--> $DIR/issue-105225.rs:10:27
|
2023-08-28 16:37:03 +00:00
|
|
|
|
|
|
|
|
LL | println!("{x} {}", x, x);
|
2023-10-05 12:36:50 +00:00
|
|
|
| ^ help: this can be removed
|
2023-08-28 16:37:03 +00:00
|
|
|
|
|
2023-10-04 13:47:53 +00:00
|
|
|
note: the formatting specifier is referencing the binding already
|
2023-10-05 12:59:15 +00:00
|
|
|
--> $DIR/issue-105225.rs:10:16
|
2023-08-28 16:37:03 +00:00
|
|
|
|
|
|
|
|
LL | println!("{x} {}", x, x);
|
2023-10-04 13:47:53 +00:00
|
|
|
| ^
|
2023-08-28 16:37:03 +00:00
|
|
|
|
2023-10-04 13:47:53 +00:00
|
|
|
error: redundant argument
|
2023-10-05 12:59:15 +00:00
|
|
|
--> $DIR/issue-105225.rs:13:27
|
2023-08-28 16:37:03 +00:00
|
|
|
|
|
|
|
|
LL | println!("{} {x}", x, x);
|
2023-10-05 12:36:50 +00:00
|
|
|
| ^ help: this can be removed
|
2023-08-28 16:37:03 +00:00
|
|
|
|
|
2023-10-04 13:47:53 +00:00
|
|
|
note: the formatting specifier is referencing the binding already
|
2023-10-05 12:59:15 +00:00
|
|
|
--> $DIR/issue-105225.rs:13:19
|
2023-08-28 16:37:03 +00:00
|
|
|
|
|
|
|
|
LL | println!("{} {x}", x, x);
|
2023-10-04 13:47:53 +00:00
|
|
|
| ^
|
2023-08-28 16:37:03 +00:00
|
|
|
|
2023-10-05 12:32:56 +00:00
|
|
|
error: redundant arguments
|
2023-10-05 12:59:15 +00:00
|
|
|
--> $DIR/issue-105225.rs:16:25
|
2023-08-28 16:37:03 +00:00
|
|
|
|
|
|
|
|
LL | println!("{x} {y}", x, y);
|
2023-10-05 12:36:50 +00:00
|
|
|
| ^ ^
|
2023-08-28 16:37:03 +00:00
|
|
|
|
|
2023-10-04 13:47:53 +00:00
|
|
|
note: the formatting specifiers are referencing the bindings already
|
2023-10-05 12:59:15 +00:00
|
|
|
--> $DIR/issue-105225.rs:16:16
|
2023-08-28 16:37:03 +00:00
|
|
|
|
|
|
|
|
LL | println!("{x} {y}", x, y);
|
2023-10-04 13:47:53 +00:00
|
|
|
| ^ ^
|
|
|
|
help: this can be removed
|
|
|
|
|
|
|
|
|
LL - println!("{x} {y}", x, y);
|
|
|
|
LL + println!("{x} {y}", );
|
|
|
|
|
|
2023-08-28 16:37:03 +00:00
|
|
|
|
2023-10-05 12:32:56 +00:00
|
|
|
error: redundant arguments
|
2023-10-05 12:59:15 +00:00
|
|
|
--> $DIR/issue-105225.rs:19:43
|
2023-08-28 16:37:03 +00:00
|
|
|
|
|
|
|
|
LL | println!("{} {} {x} {y} {}", x, x, x, y, y);
|
2023-10-05 12:36:50 +00:00
|
|
|
| ^ ^
|
2023-08-28 16:37:03 +00:00
|
|
|
|
|
2023-10-04 13:47:53 +00:00
|
|
|
note: the formatting specifiers are referencing the bindings already
|
2023-10-05 12:59:15 +00:00
|
|
|
--> $DIR/issue-105225.rs:19:26
|
2023-08-28 16:37:03 +00:00
|
|
|
|
|
|
|
|
LL | println!("{} {} {x} {y} {}", x, x, x, y, y);
|
2023-10-04 13:47:53 +00:00
|
|
|
| ^
|
|
|
|
help: this can be removed
|
|
|
|
|
|
|
|
|
LL - println!("{} {} {x} {y} {}", x, x, x, y, y);
|
|
|
|
LL + println!("{} {} {x} {y} {}", x, x, x, );
|
|
|
|
|
|
2023-08-28 16:37:03 +00:00
|
|
|
|
|
|
|
error: aborting due to 5 previous errors
|
|
|
|
|