1 error: format specifiers have no effect on `format_args!()`
2 --> $DIR/unused_format_specs_unfixable.rs:12:15
4 LL | println!("{:5}.", format_args!(""));
7 = note: `-D clippy::unused-format-specs` implied by `-D warnings`
8 help: for the width to apply consider using `format!()`
10 LL | println!("{:5}.", format!(""));
12 help: if the current behavior is intentional, remove the format specifiers
14 LL - println!("{:5}.", format_args!(""));
15 LL + println!("{}.", format_args!(""));
18 error: format specifiers have no effect on `format_args!()`
19 --> $DIR/unused_format_specs_unfixable.rs:14:15
21 LL | println!("{:.3}", format_args!("abcde"));
24 help: for the precision to apply consider using `format!()`
26 LL | println!("{:.3}", format!("abcde"));
28 help: if the current behavior is intentional, remove the format specifiers
30 LL - println!("{:.3}", format_args!("abcde"));
31 LL + println!("{}", format_args!("abcde"));
34 error: format specifiers have no effect on `format_args!()`
35 --> $DIR/unused_format_specs_unfixable.rs:16:15
37 LL | println!("{:5}.", format_args_from_macro!());
40 help: for the width to apply consider using `format!()`
41 --> $DIR/unused_format_specs_unfixable.rs:16:17
43 LL | println!("{:5}.", format_args_from_macro!());
45 help: if the current behavior is intentional, remove the format specifiers
47 LL - println!("{:5}.", format_args_from_macro!());
48 LL + println!("{}.", format_args_from_macro!());
51 error: format specifiers have no effect on `format_args!()`
52 --> $DIR/unused_format_specs_unfixable.rs:19:15
54 LL | println!("{args:5}");
57 help: for the width to apply consider using `format!()`
58 --> $DIR/unused_format_specs_unfixable.rs:19:21
60 LL | println!("{args:5}");
62 help: if the current behavior is intentional, remove the format specifiers
64 LL - println!("{args:5}");
65 LL + println!("{args}");
68 error: aborting due to 4 previous errors