mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 17:13:48 +00:00
37 lines
1003 B
Plaintext
37 lines
1003 B
Plaintext
error: empty string literal in `println!`
|
|
--> $DIR/println_empty_string.rs:6:5
|
|
|
|
|
LL | println!("");
|
|
| ^^^^^^^^^--^
|
|
| |
|
|
| help: remove the empty string
|
|
|
|
|
= note: `-D clippy::println-empty-string` implied by `-D warnings`
|
|
|
|
error: empty string literal in `println!`
|
|
--> $DIR/println_empty_string.rs:9:14
|
|
|
|
|
LL | _ => println!(""),
|
|
| ^^^^^^^^^--^
|
|
| |
|
|
| help: remove the empty string
|
|
|
|
error: empty string literal in `eprintln!`
|
|
--> $DIR/println_empty_string.rs:13:5
|
|
|
|
|
LL | eprintln!("");
|
|
| ^^^^^^^^^^--^
|
|
| |
|
|
| help: remove the empty string
|
|
|
|
error: empty string literal in `eprintln!`
|
|
--> $DIR/println_empty_string.rs:16:14
|
|
|
|
|
LL | _ => eprintln!(""),
|
|
| ^^^^^^^^^^--^
|
|
| |
|
|
| help: remove the empty string
|
|
|
|
error: aborting due to 4 previous errors
|
|
|