1 error: multiple unused formatting arguments
2 --> $DIR/format-foreign.rs:2:30
4 LL | println!("%.*3$s %s!\n", "Hello,", "World", 4);
5 | -------------- ^^^^^^^^ ^^^^^^^ ^ argument never used
7 | | | argument never used
8 | | argument never used
9 | multiple missing formatting specifiers
11 = note: printf formatting not supported; see the documentation for `std::fmt`
12 help: format specifiers use curly braces
14 LL | println!("{:.2$} {}!\n", "Hello,", "World", 4);
17 error: argument never used
18 --> $DIR/format-foreign.rs:3:29
20 LL | println!("%1$*2$.*3$f", 123.456);
21 | ----------- ^^^^^^^ argument never used
23 | help: format specifiers use curly braces: `{0:1$.2$}`
25 = note: printf formatting not supported; see the documentation for `std::fmt`
27 error: multiple unused formatting arguments
28 --> $DIR/format-foreign.rs:6:7
30 LL | println!(r###"%.*3$s
33 LL | | "###, "Hello,", "World", 4);
34 | | - ^^^^^^^^ ^^^^^^^ ^ argument never used
36 | | | | argument never used
37 | |____| argument never used
38 | multiple missing formatting specifiers
40 = note: printf formatting not supported; see the documentation for `std::fmt`
41 help: format specifiers use curly braces
43 LL | println!(r###"{:.2$}
47 error: argument never used
48 --> $DIR/format-foreign.rs:12:30
50 LL | println!("{} %f", "one", 2.0);
51 | ------- ^^^ argument never used
53 | formatting specifier missing
55 error: named argument never used
56 --> $DIR/format-foreign.rs:14:39
58 LL | println!("Hi there, $NAME.", NAME="Tim");
59 | ----- ^^^^^ named argument never used
61 | help: format specifiers use curly braces: `{NAME}`
63 = note: shell formatting not supported; see the documentation for `std::fmt`
65 error: multiple unused formatting arguments
66 --> $DIR/format-foreign.rs:15:32
68 LL | println!("$1 $0 $$ $NAME", 1, 2, NAME=3);
69 | ---------------- ^ ^ ^ named argument never used
71 | | | argument never used
72 | | argument never used
73 | multiple missing formatting specifiers
75 = note: shell formatting not supported; see the documentation for `std::fmt`
76 help: format specifiers use curly braces
78 LL | println!("{1} {0} $$ {NAME}", 1, 2, NAME=3);
81 error: aborting due to 6 previous errors