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