1 error: use of `print!` in `Debug` impl
2 --> $DIR/print_in_format_impl.rs:20:9
5 | ^^^^^^^^^^^^^^^ help: replace with: `write!(f, ..)`
7 = note: `-D clippy::print-in-format-impl` implied by `-D warnings`
9 error: use of `println!` in `Debug` impl
10 --> $DIR/print_in_format_impl.rs:21:9
12 LL | println!("{}", 2);
13 | ^^^^^^^^^^^^^^^^^ help: replace with: `writeln!(f, ..)`
15 error: use of `eprint!` in `Debug` impl
16 --> $DIR/print_in_format_impl.rs:22:9
18 LL | eprint!("{}", 3);
19 | ^^^^^^^^^^^^^^^^ help: replace with: `write!(f, ..)`
21 error: use of `eprintln!` in `Debug` impl
22 --> $DIR/print_in_format_impl.rs:23:9
24 LL | eprintln!("{}", 4);
25 | ^^^^^^^^^^^^^^^^^^ help: replace with: `writeln!(f, ..)`
27 error: use of `println!` in `Debug` impl
28 --> $DIR/print_in_format_impl.rs:25:13
30 LL | println!("nested");
31 | ^^^^^^^^^^^^^^^^^^ help: replace with: `writeln!(f, ..)`
33 error: use of `print!` in `Display` impl
34 --> $DIR/print_in_format_impl.rs:38:9
36 LL | print!("Display");
37 | ^^^^^^^^^^^^^^^^^ help: replace with: `write!(f, ..)`
39 error: use of `println!` in `Debug` impl
40 --> $DIR/print_in_format_impl.rs:48:9
42 LL | println!("UnnamedFormatter");
43 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `writeln!(..)`
45 error: aborting due to 7 previous errors