mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-23 03:23:33 +00:00
38d4ac7cea
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
16 lines
444 B
Text
16 lines
444 B
Text
error: using `println!("")`
|
|
--> $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
|
|
|