1 error: using `print!()` with a format string that ends in a newline, consider using `println!()` instead
2 --> $DIR/print_with_newline.rs:6:5
4 6 | print!("Hello/n"); //~ERROR using `print!()` with a format string
7 note: lint level defined here
8 --> $DIR/print_with_newline.rs:3:9
10 3 | #![deny(print_with_newline)]
13 error: using `print!()` with a format string that ends in a newline, consider using `println!()` instead
14 --> $DIR/print_with_newline.rs:7:5
16 7 | print!("Hello {}/n", "world"); //~ERROR using `print!()` with a format string
17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19 error: using `print!()` with a format string that ends in a newline, consider using `println!()` instead
20 --> $DIR/print_with_newline.rs:8:5
22 8 | print!("Hello {} {}/n/n", "world", "#2"); //~ERROR using `print!()` with a format string
23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
25 error: using `print!()` with a format string that ends in a newline, consider using `println!()` instead
26 --> $DIR/print_with_newline.rs:9:5
28 9 | print!("{}/n", 1265); //~ERROR using `print!()` with a format string
29 | ^^^^^^^^^^^^^^^^^^^^^
31 error: aborting due to 4 previous errors