]> 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 89447040a33cd98f7ecea979635aa40611460dfd..689624a0fa0fffcf71ee01c500329ce171aa75d2 100644 (file)
@@ -1,5 +1,5 @@
 error: using `println!("")`
-  --> $DIR/println_empty_string.rs:12:5
+  --> $DIR/println_empty_string.rs:5:5
    |
 LL |     println!("");
    |     ^^^^^^^^^^^^ help: replace it with: `println!()`
@@ -7,7 +7,7 @@ LL |     println!("");
    = note: `-D clippy::println-empty-string` implied by `-D warnings`
 
 error: using `println!("")`
-  --> $DIR/println_empty_string.rs:15:14
+  --> $DIR/println_empty_string.rs:8:14
    |
 LL |         _ => println!(""),
    |              ^^^^^^^^^^^^ help: replace it with: `println!()`