rust-clippy/tests/ui/println_empty_string.stderr

37 lines
1,003 B
Text
Raw Normal View History

error: empty string literal in `println!`
2020-02-04 07:20:49 +00:00
--> $DIR/println_empty_string.rs:6:5
2018-10-06 16:18:06 +00:00
|
2018-12-27 15:57:55 +00:00
LL | println!("");
| ^^^^^^^^^--^
| |
| help: remove the empty string
2018-10-06 16:18:06 +00:00
|
= note: `-D clippy::println-empty-string` implied by `-D warnings`
2017-10-20 14:45:17 +00:00
error: empty string literal in `println!`
2020-02-04 07:20:49 +00:00
--> $DIR/println_empty_string.rs:9:14
2018-10-06 16:18:06 +00:00
|
2018-12-27 15:57:55 +00:00
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
2018-01-16 16:06:27 +00:00