1 error: using `print!()` with a format string that ends in a single newline
2 --> $DIR/print_with_newline.rs:8:5
4 LL | print!("Hello/n");
7 = note: `-D clippy::print-with-newline` implied by `-D warnings`
8 help: use `println!` instead
10 LL | println!("Hello");
13 error: using `print!()` with a format string that ends in a single newline
14 --> $DIR/print_with_newline.rs:9:5
16 LL | print!("Hello {}/n", "world");
17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19 help: use `println!` instead
21 LL | println!("Hello {}", "world");
24 error: using `print!()` with a format string that ends in a single newline
25 --> $DIR/print_with_newline.rs:10:5
27 LL | print!("Hello {} {}/n", "world", "#2");
28 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
30 help: use `println!` instead
32 LL | println!("Hello {} {}", "world", "#2");
35 error: using `print!()` with a format string that ends in a single newline
36 --> $DIR/print_with_newline.rs:11:5
38 LL | print!("{}/n", 1265);
39 | ^^^^^^^^^^^^^^^^^^^^
41 help: use `println!` instead
43 LL | println!("{}", 1265);
46 error: using `print!()` with a format string that ends in a single newline
47 --> $DIR/print_with_newline.rs:30:5
49 LL | print!("//n"); // should fail
52 help: use `println!` instead
54 LL | println!("/"); // should fail
57 error: using `print!()` with a format string that ends in a single newline
58 --> $DIR/print_with_newline.rs:37:5
66 help: use `println!` instead
72 error: using `print!()` with a format string that ends in a single newline
73 --> $DIR/print_with_newline.rs:41:5
81 help: use `println!` instead
87 error: aborting due to 7 previous errors