1 error: using `print!()` with a format string that ends in a single newline, consider using `println!()` instead
2 --> $DIR/print_with_newline.rs:7:5
7 = note: `-D print-with-newline` implied by `-D warnings`
9 error: using `print!()` with a format string that ends in a single newline, consider using `println!()` instead
10 --> $DIR/print_with_newline.rs:8:5
12 8 | print!("Hello {}/n", "world");
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15 error: using `print!()` with a format string that ends in a single newline, consider using `println!()` instead
16 --> $DIR/print_with_newline.rs:9:5
18 9 | print!("Hello {} {}/n", "world", "#2");
19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
21 error: using `print!()` with a format string that ends in a single newline, consider using `println!()` instead
22 --> $DIR/print_with_newline.rs:10:5
24 10 | print!("{}/n", 1265);
25 | ^^^^^^^^^^^^^^^^^^^^
27 error: aborting due to 4 previous errors