mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
38d4ac7cea
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
17 lines
444 B
Plaintext
17 lines
444 B
Plaintext
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
|
|
|