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 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18 help: use `println!` instead
20 LL | println!("Hello {}", "world");
23 error: using `print!()` with a format string that ends in a single newline
24 --> $DIR/print_with_newline.rs:10:5
26 LL | print!("Hello {} {}/n", "world", "#2");
27 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
28 help: use `println!` instead
30 LL | println!("Hello {} {}", "world", "#2");
33 error: using `print!()` with a format string that ends in a single newline
34 --> $DIR/print_with_newline.rs:11:5
36 LL | print!("{}/n", 1265);
37 | ^^^^^^^^^^^^^^^^^^^^
38 help: use `println!` instead
40 LL | println!("{}", 1265);
43 error: using `print!()` with a format string that ends in a single newline
44 --> $DIR/print_with_newline.rs:30:5
46 LL | print!("//n"); // should fail
48 help: use `println!` instead
50 LL | println!("/"); // should fail
53 error: using `print!()` with a format string that ends in a single newline
54 --> $DIR/print_with_newline.rs:37:5
61 help: use `println!` instead
67 error: using `print!()` with a format string that ends in a single newline
68 --> $DIR/print_with_newline.rs:41:5
75 help: use `println!` instead
81 error: aborting due to 7 previous errors