mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-14 17:07:17 +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
|
|
|