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