1 error: using `print!()` with a format string that ends in a newline, consider using `println!()` instead
2 --> print_with_newline.rs:6:5
7 = note: `-D print-with-newline` implied by `-D warnings`
9 error: using `print!()` with a format string that ends in a newline, consider using `println!()` instead
10 --> print_with_newline.rs:7:5
12 7 | print!("Hello {}\n", "world");
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15 = note: `-D print-with-newline` implied by `-D warnings`
17 error: using `print!()` with a format string that ends in a newline, consider using `println!()` instead
18 --> print_with_newline.rs:8:5
20 8 | print!("Hello {} {}\n\n", "world", "#2");
21 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
23 = note: `-D print-with-newline` implied by `-D warnings`
25 error: using `print!()` with a format string that ends in a newline, consider using `println!()` instead
26 --> print_with_newline.rs:9:5
28 9 | print!("{}\n", 1265);
29 | ^^^^^^^^^^^^^^^^^^^^^
31 = note: `-D print-with-newline` implied by `-D warnings`
33 error: aborting due to previous error(s)
35 error: Could not compile `clippy_tests`.
37 To learn more, run the command again with --verbose.