2017-07-21 17:11:44 -05:00
|
|
|
error: multiple unused formatting arguments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/format-unused-lables.rs:2:22
|
2017-07-21 17:11:44 -05:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | println!("Test", 123, 456, 789);
|
2018-12-26 22:18:41 -06:00
|
|
|
| ------ ^^^ ^^^ ^^^ argument never used
|
|
|
|
| | | |
|
|
|
|
| | | argument never used
|
|
|
|
| | argument never used
|
2018-07-24 11:51:04 -05:00
|
|
|
| multiple missing formatting specifiers
|
2017-07-21 17:11:44 -05:00
|
|
|
|
|
|
|
error: multiple unused formatting arguments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/format-unused-lables.rs:6:9
|
2017-07-21 17:11:44 -05:00
|
|
|
|
|
2018-07-14 22:50:30 -05:00
|
|
|
LL | println!("Test2",
|
2018-07-24 11:51:04 -05:00
|
|
|
| ------- multiple missing formatting specifiers
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | 123,
|
2018-12-26 22:18:41 -06:00
|
|
|
| ^^^ argument never used
|
2018-07-14 22:50:30 -05:00
|
|
|
LL | 456,
|
2018-12-26 22:18:41 -06:00
|
|
|
| ^^^ argument never used
|
2018-07-14 22:50:30 -05:00
|
|
|
LL | 789
|
2018-12-26 22:18:41 -06:00
|
|
|
| ^^^ argument never used
|
2017-07-21 17:11:44 -05:00
|
|
|
|
|
|
|
error: named argument never used
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/format-unused-lables.rs:11:35
|
2017-07-21 17:11:44 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | println!("Some stuff", UNUSED="args");
|
2018-12-26 22:18:41 -06:00
|
|
|
| ------------ ^^^^^^ named argument never used
|
2018-07-24 22:46:22 -05:00
|
|
|
| |
|
|
|
|
| formatting specifier missing
|
2017-07-21 17:11:44 -05:00
|
|
|
|
|
|
|
error: multiple unused formatting arguments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/format-unused-lables.rs:14:9
|
2017-07-21 17:11:44 -05:00
|
|
|
|
|
2018-07-14 22:50:30 -05:00
|
|
|
LL | println!("Some more $STUFF",
|
2018-07-30 18:33:53 -05:00
|
|
|
| ------------------
|
|
|
|
| | |
|
|
|
|
| | help: format specifiers use curly braces: `{STUFF}`
|
|
|
|
| multiple missing formatting specifiers
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | "woo!",
|
2018-12-26 22:18:41 -06:00
|
|
|
| ^^^^^^ argument never used
|
2018-07-14 22:50:30 -05:00
|
|
|
LL | STUFF=
|
|
|
|
LL | "things"
|
2018-12-26 22:18:41 -06:00
|
|
|
| ^^^^^^^^ named argument never used
|
2018-07-14 22:50:30 -05:00
|
|
|
LL | , UNUSED="args");
|
2018-12-26 22:18:41 -06:00
|
|
|
| ^^^^^^ named argument never used
|
2017-07-21 17:11:44 -05:00
|
|
|
|
|
2023-01-02 05:23:43 -06:00
|
|
|
= note: shell formatting is not supported; see the documentation for `std::fmt`
|
2017-07-21 17:11:44 -05:00
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|