2022-08-30 07:20:49 -05:00
|
|
|
error: empty string literal in `println!`
|
2020-02-04 01:20:49 -06:00
|
|
|
--> $DIR/println_empty_string.rs:6:5
|
2018-10-06 11:18:06 -05:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | println!("");
|
2022-08-30 07:20:49 -05:00
|
|
|
| ^^^^^^^^^--^
|
|
|
|
| |
|
|
|
|
| help: remove the empty string
|
2018-10-06 11:18:06 -05:00
|
|
|
|
|
|
|
|
= note: `-D clippy::println-empty-string` implied by `-D warnings`
|
2017-10-20 09:45:17 -05:00
|
|
|
|
2022-08-30 07:20:49 -05:00
|
|
|
error: empty string literal in `println!`
|
2020-02-04 01:20:49 -06:00
|
|
|
--> $DIR/println_empty_string.rs:9:14
|
2018-10-06 11:18:06 -05:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | _ => println!(""),
|
2022-08-30 07:20:49 -05:00
|
|
|
| ^^^^^^^^^--^
|
|
|
|
| |
|
|
|
|
| help: remove the empty string
|
2018-04-08 23:07:47 -05:00
|
|
|
|
2022-08-30 07:20:49 -05:00
|
|
|
error: empty string literal in `eprintln!`
|
2020-12-08 16:17:12 -06:00
|
|
|
--> $DIR/println_empty_string.rs:13:5
|
|
|
|
|
|
|
|
|
LL | eprintln!("");
|
2022-08-30 07:20:49 -05:00
|
|
|
| ^^^^^^^^^^--^
|
|
|
|
| |
|
|
|
|
| help: remove the empty string
|
2020-12-08 16:17:12 -06:00
|
|
|
|
2022-08-30 07:20:49 -05:00
|
|
|
error: empty string literal in `eprintln!`
|
2020-12-08 16:17:12 -06:00
|
|
|
--> $DIR/println_empty_string.rs:16:14
|
|
|
|
|
|
|
|
|
LL | _ => eprintln!(""),
|
2022-08-30 07:20:49 -05:00
|
|
|
| ^^^^^^^^^^--^
|
|
|
|
| |
|
|
|
|
| help: remove the empty string
|
2020-12-08 16:17:12 -06:00
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
2018-01-16 10:06:27 -06:00
|
|
|
|