1 error: using `eprint!()` with a format string that ends in a single newline
2 --> $DIR/eprint_with_newline.rs:5:5
4 LL | eprint!("Hello/n");
7 = note: `-D clippy::print-with-newline` implied by `-D warnings`
8 help: use `eprintln!` instead
10 LL | eprintln!("Hello");
13 error: using `eprint!()` with a format string that ends in a single newline
14 --> $DIR/eprint_with_newline.rs:6:5
16 LL | eprint!("Hello {}/n", "world");
17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19 help: use `eprintln!` instead
21 LL | eprintln!("Hello {}", "world");
24 error: using `eprint!()` with a format string that ends in a single newline
25 --> $DIR/eprint_with_newline.rs:7:5
27 LL | eprint!("Hello {} {}/n", "world", "#2");
28 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
30 help: use `eprintln!` instead
32 LL | eprintln!("Hello {} {}", "world", "#2");
35 error: using `eprint!()` with a format string that ends in a single newline
36 --> $DIR/eprint_with_newline.rs:8:5
38 LL | eprint!("{}/n", 1265);
39 | ^^^^^^^^^^^^^^^^^^^^^
41 help: use `eprintln!` instead
43 LL | eprintln!("{}", 1265);
46 error: using `eprint!()` with a format string that ends in a single newline
47 --> $DIR/eprint_with_newline.rs:9:5
52 help: use `eprintln!` instead
57 error: using `eprint!()` with a format string that ends in a single newline
58 --> $DIR/eprint_with_newline.rs:28:5
60 LL | eprint!("//n"); // should fail
63 help: use `eprintln!` instead
65 LL | eprintln!("/"); // should fail
68 error: using `eprint!()` with a format string that ends in a single newline
69 --> $DIR/eprint_with_newline.rs:35:5
77 help: use `eprintln!` instead
83 error: using `eprint!()` with a format string that ends in a single newline
84 --> $DIR/eprint_with_newline.rs:39:5
92 help: use `eprintln!` instead
98 error: using `eprint!()` with a format string that ends in a single newline
99 --> $DIR/eprint_with_newline.rs:47:5
101 LL | eprint!("/r/n"); //~ ERROR
104 help: use `eprintln!` instead
106 LL | eprintln!("/r"); //~ ERROR
109 error: using `eprint!()` with a format string that ends in a single newline
110 --> $DIR/eprint_with_newline.rs:48:5
112 LL | eprint!("foo/rbar/n") // ~ ERROR
113 | ^^^^^^^^^^^^^^^^^^^^^
115 help: use `eprintln!` instead
117 LL | eprintln!("foo/rbar") // ~ ERROR
120 error: aborting due to 10 previous errors