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 - eprint!("Hello/n");
11 LL + eprintln!("Hello");
14 error: using `eprint!()` with a format string that ends in a single newline
15 --> $DIR/eprint_with_newline.rs:6:5
17 LL | eprint!("Hello {}/n", "world");
18 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20 help: use `eprintln!` instead
22 LL - eprint!("Hello {}/n", "world");
23 LL + eprintln!("Hello {}", "world");
26 error: using `eprint!()` with a format string that ends in a single newline
27 --> $DIR/eprint_with_newline.rs:7:5
29 LL | eprint!("Hello {} {}/n", "world", "#2");
30 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32 help: use `eprintln!` instead
34 LL - eprint!("Hello {} {}/n", "world", "#2");
35 LL + eprintln!("Hello {} {}", "world", "#2");
38 error: using `eprint!()` with a format string that ends in a single newline
39 --> $DIR/eprint_with_newline.rs:8:5
41 LL | eprint!("{}/n", 1265);
42 | ^^^^^^^^^^^^^^^^^^^^^
44 help: use `eprintln!` instead
46 LL - eprint!("{}/n", 1265);
47 LL + eprintln!("{}", 1265);
50 error: using `eprint!()` with a format string that ends in a single newline
51 --> $DIR/eprint_with_newline.rs:9:5
56 help: use `eprintln!` instead
62 error: using `eprint!()` with a format string that ends in a single newline
63 --> $DIR/eprint_with_newline.rs:28:5
65 LL | eprint!("//n"); // should fail
68 help: use `eprintln!` instead
70 LL - eprint!("//n"); // should fail
71 LL + eprintln!("/"); // should fail
74 error: using `eprint!()` with a format string that ends in a single newline
75 --> $DIR/eprint_with_newline.rs:35:5
83 help: use `eprintln!` instead
89 error: using `eprint!()` with a format string that ends in a single newline
90 --> $DIR/eprint_with_newline.rs:39:5
98 help: use `eprintln!` instead
104 error: using `eprint!()` with a format string that ends in a single newline
105 --> $DIR/eprint_with_newline.rs:47:5
107 LL | eprint!("/r/n"); //~ ERROR
110 help: use `eprintln!` instead
112 LL - eprint!("/r/n"); //~ ERROR
113 LL + eprintln!("/r"); //~ ERROR
116 error: using `eprint!()` with a format string that ends in a single newline
117 --> $DIR/eprint_with_newline.rs:48:5
119 LL | eprint!("foo/rbar/n") // ~ ERROR
120 | ^^^^^^^^^^^^^^^^^^^^^
122 help: use `eprintln!` instead
124 LL - eprint!("foo/rbar/n") // ~ ERROR
125 LL + eprintln!("foo/rbar") // ~ ERROR
128 error: aborting due to 10 previous errors