fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
629 B18 linesraw
1error: multiple unused formatting arguments
2  --> $DIR/issue-89173.rs:7:20
3   |
4LL |     print!("%0*x", width, num);
5   |            ------  ^^^^^  ^^^ argument never used
6   |            |       |
7   |            |       argument never used
8   |            multiple missing formatting specifiers
9   |
10note: format specifiers use curly braces, and you have to use a positional or named parameter for the width
11  --> $DIR/issue-89173.rs:7:13
12   |
13LL |     print!("%0*x", width, num);
14   |             ^^^^
15   = note: printf formatting is not supported; see the documentation for `std::fmt`
16
17error: aborting due to previous error
18