| error: empty string literal in `println!` |
| --> tests/ui/println_empty_string.rs:6:5 |
| | |
| LL | println!(""); |
| | ^^^^^^^^^--^ |
| | | |
| | help: remove the empty string |
| | |
| = note: `-D clippy::println-empty-string` implied by `-D warnings` |
| = help: to override `-D warnings` add `#[allow(clippy::println_empty_string)]` |
| |
| error: empty string literal in `println!` |
| --> tests/ui/println_empty_string.rs:10:14 |
| | |
| LL | _ => println!(""), |
| | ^^^^^^^^^--^ |
| | | |
| | help: remove the empty string |
| |
| error: empty string literal in `eprintln!` |
| --> tests/ui/println_empty_string.rs:15:5 |
| | |
| LL | eprintln!(""); |
| | ^^^^^^^^^^--^ |
| | | |
| | help: remove the empty string |
| |
| error: empty string literal in `eprintln!` |
| --> tests/ui/println_empty_string.rs:19:14 |
| | |
| LL | _ => eprintln!(""), |
| | ^^^^^^^^^^--^ |
| | | |
| | help: remove the empty string |
| |
| error: empty string literal in `println!` |
| --> tests/ui/println_empty_string.rs:27:5 |
| | |
| LL | / println!( |
| LL | |/ "\ |
| LL | || \ |
| LL | || " |
| LL | || , |
| LL | || ); |
| | ||____-^ |
| | |____| |
| | help: remove the empty string |
| |
| error: empty string literal in `println!` |
| --> tests/ui/println_empty_string.rs:35:14 |
| | |
| LL | _ => println!("" ,), // there is a space between "" and comma |
| | ^^^^^^^^^----^ |
| | | |
| | help: remove the empty string |
| |
| error: empty string literal in `eprintln!` |
| --> tests/ui/println_empty_string.rs:39:5 |
| | |
| LL | eprintln!("" ,); // there is a tab between "" and comma |
| | ^^^^^^^^^^-------^ |
| | | |
| | help: remove the empty string |
| |
| error: empty string literal in `eprintln!` |
| --> tests/ui/println_empty_string.rs:43:14 |
| | |
| LL | _ => eprintln!("" ,), // tab and space between "" and comma |
| | ^^^^^^^^^^--------^ |
| | | |
| | help: remove the empty string |
| |
| error: empty string literal in `println!` |
| --> tests/ui/println_empty_string.rs:50:5 |
| | |
| LL | println!{""}; |
| | ^^^^^^^^^--^ |
| | | |
| | help: remove the empty string |
| |
| error: empty string literal in `println!` |
| --> tests/ui/println_empty_string.rs:53:5 |
| | |
| LL | println![""]; |
| | ^^^^^^^^^--^ |
| | | |
| | help: remove the empty string |
| |
| error: empty string literal in `eprintln!` |
| --> tests/ui/println_empty_string.rs:56:5 |
| | |
| LL | eprintln!{""}; |
| | ^^^^^^^^^^--^ |
| | | |
| | help: remove the empty string |
| |
| error: empty string literal in `eprintln!` |
| --> tests/ui/println_empty_string.rs:59:5 |
| | |
| LL | eprintln![""]; |
| | ^^^^^^^^^^--^ |
| | | |
| | help: remove the empty string |
| |
| error: empty string literal in `println!` |
| --> tests/ui/println_empty_string.rs:63:14 |
| | |
| LL | _ => println!{""}, |
| | ^^^^^^^^^--^ |
| | | |
| | help: remove the empty string |
| |
| error: empty string literal in `println!` |
| --> tests/ui/println_empty_string.rs:68:14 |
| | |
| LL | _ => println![""], |
| | ^^^^^^^^^--^ |
| | | |
| | help: remove the empty string |
| |
| error: aborting due to 14 previous errors |
| |