]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/println_empty_string.stderr
map_unit_fn: rename tests to fixable
[rust.git] / tests / ui / println_empty_string.stderr
index 1148a4496a5852f3e5cb0f47de96e971002bc9c6..689624a0fa0fffcf71ee01c500329ce171aa75d2 100644 (file)
@@ -1,16 +1,16 @@
 error: using `println!("")`
--> $DIR/println_empty_string.rs:3:5
-  |
-3 |     println!("");
-  |     ^^^^^^^^^^^^ help: replace it with: `println!()`
-  |
-  = note: `-D print-with-newline` implied by `-D warnings`
 --> $DIR/println_empty_string.rs:5:5
+   |
+LL |     println!("");
+   |     ^^^^^^^^^^^^ help: replace it with: `println!()`
+   |
+   = note: `-D clippy::println-empty-string` implied by `-D warnings`
 
 error: using `println!("")`
--> $DIR/println_empty_string.rs:6:14
-  |
-6 |         _ => println!(""),
-  |              ^^^^^^^^^^^^ help: replace it with: `println!()`
 --> $DIR/println_empty_string.rs:8:14
+   |
+LL |         _ => println!(""),
+   |              ^^^^^^^^^^^^ help: replace it with: `println!()`
 
 error: aborting due to 2 previous errors