mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-15 09:27:25 +00:00
3187cad8ec
Get rid of the too-many-lines error.
28 lines
781 B
Text
28 lines
781 B
Text
error: using `println!("")`
|
|
--> $DIR/println_empty_string.rs:6: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:9:14
|
|
|
|
|
LL | _ => println!(""),
|
|
| ^^^^^^^^^^^^ help: replace it with: `println!()`
|
|
|
|
error: using `eprintln!("")`
|
|
--> $DIR/println_empty_string.rs:13:5
|
|
|
|
|
LL | eprintln!("");
|
|
| ^^^^^^^^^^^^^ help: replace it with: `eprintln!()`
|
|
|
|
error: using `eprintln!("")`
|
|
--> $DIR/println_empty_string.rs:16:14
|
|
|
|
|
LL | _ => eprintln!(""),
|
|
| ^^^^^^^^^^^^^ help: replace it with: `eprintln!()`
|
|
|
|
error: aborting due to 4 previous errors
|
|
|