2022-09-21 17:02:37 +00:00
|
|
|
error: empty string literal in `println!`
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/println_empty_string.rs:5:5
|
2018-10-06 16:18:06 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | println!("");
|
2022-09-21 17:02:37 +00:00
|
|
|
| ^^^^^^^^^--^
|
|
|
|
| |
|
|
|
|
| help: remove the empty string
|
2018-10-06 16:18:06 +00:00
|
|
|
|
|
|
|
|
= note: `-D clippy::println-empty-string` implied by `-D warnings`
|
2023-08-01 12:02:21 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::println_empty_string)]`
|
2017-10-20 14:45:17 +00:00
|
|
|
|
2022-09-21 17:02:37 +00:00
|
|
|
error: empty string literal in `println!`
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/println_empty_string.rs:8:14
|
2018-10-06 16:18:06 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | _ => println!(""),
|
2022-09-21 17:02:37 +00:00
|
|
|
| ^^^^^^^^^--^
|
|
|
|
| |
|
|
|
|
| help: remove the empty string
|
2018-04-09 04:07:47 +00:00
|
|
|
|
2022-09-21 17:02:37 +00:00
|
|
|
error: empty string literal in `eprintln!`
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/println_empty_string.rs:12:5
|
2020-12-20 16:19:49 +00:00
|
|
|
|
|
|
|
|
LL | eprintln!("");
|
2022-09-21 17:02:37 +00:00
|
|
|
| ^^^^^^^^^^--^
|
|
|
|
| |
|
|
|
|
| help: remove the empty string
|
2020-12-20 16:19:49 +00:00
|
|
|
|
2022-09-21 17:02:37 +00:00
|
|
|
error: empty string literal in `eprintln!`
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/println_empty_string.rs:15:14
|
2020-12-20 16:19:49 +00:00
|
|
|
|
|
|
|
|
LL | _ => eprintln!(""),
|
2022-09-21 17:02:37 +00:00
|
|
|
| ^^^^^^^^^^--^
|
|
|
|
| |
|
|
|
|
| help: remove the empty string
|
2020-12-20 16:19:49 +00:00
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
2018-01-16 16:06:27 +00:00
|
|
|
|