1 error: multiple unused formatting arguments
2 --> $DIR/format-foreign.rs:12:5
4 12 | println!("%.*3$s %s!/n", "Hello,", "World", 4);
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 note: argument never used
8 --> $DIR/format-foreign.rs:12:30
10 12 | println!("%.*3$s %s!/n", "Hello,", "World", 4);
12 note: argument never used
13 --> $DIR/format-foreign.rs:12:40
15 12 | println!("%.*3$s %s!/n", "Hello,", "World", 4);
17 note: argument never used
18 --> $DIR/format-foreign.rs:12:49
20 12 | println!("%.*3$s %s!/n", "Hello,", "World", 4);
22 = help: `%.*3$s` should be written as `{:.2$}`
23 = help: `%s` should be written as `{}`
24 = note: printf formatting not supported; see the documentation for `std::fmt`
25 = note: this error originates in a macro outside of the current crate
27 error: argument never used
28 --> $DIR/format-foreign.rs:13:29
30 13 | println!("%1$*2$.*3$f", 123.456);
33 = help: `%1$*2$.*3$f` should be written as `{0:1$.2$}`
34 = note: printf formatting not supported; see the documentation for `std::fmt`
36 error: argument never used
37 --> $DIR/format-foreign.rs:17:30
39 17 | println!("{} %f", "one", 2.0);
42 error: named argument never used
43 --> $DIR/format-foreign.rs:19:39
45 19 | println!("Hi there, $NAME.", NAME="Tim");
48 = help: `$NAME` should be written as `{NAME}`
49 = note: shell formatting not supported; see the documentation for `std::fmt`
51 error: aborting due to 4 previous errors