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