rust/tests/ui/macros/format-unused-lables.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

51 lines
1.7 KiB
Plaintext
Raw Normal View History

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);
| ------ ^^^ ^^^ ^^^ argument never used
| | | |
| | | argument never used
| | argument never used
| 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
|
LL | println!("Test2",
| ------- multiple missing formatting specifiers
2019-03-09 06:03:44 -06:00
LL | 123,
| ^^^ argument never used
LL | 456,
| ^^^ argument never used
LL | 789
| ^^^ 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");
| ------------ ^^^^^^ named argument never used
| |
| 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
|
LL | println!("Some more $STUFF",
| ------------------
| | |
| | help: format specifiers use curly braces: `{STUFF}`
| multiple missing formatting specifiers
2019-03-09 06:03:44 -06:00
LL | "woo!",
| ^^^^^^ argument never used
LL | STUFF=
LL | "things"
| ^^^^^^^^ named argument never used
LL | , UNUSED="args");
| ^^^^^^ 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