]> 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 f70b056e562639e18bfb92c8164e2c4f3269576a..689624a0fa0fffcf71ee01c500329ce171aa75d2 100644 (file)
@@ -1,10 +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: aborting due to previous error
+error: using `println!("")`
+  --> $DIR/println_empty_string.rs:8:14
+   |
+LL |         _ => println!(""),
+   |              ^^^^^^^^^^^^ help: replace it with: `println!()`
+
+error: aborting due to 2 previous errors