2023-07-17 10:19:29 +02:00
|
|
|
error: this `else` branch is empty
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/needless_else.rs:23:7
|
2023-06-02 11:41:57 +02:00
|
|
|
|
|
|
|
|
LL | } else {
|
|
|
|
| _______^
|
|
|
|
LL | | }
|
|
|
|
| |_____^ help: you can remove it
|
|
|
|
|
|
|
|
|
= note: `-D clippy::needless-else` implied by `-D warnings`
|
2023-08-01 14:02:21 +02:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::needless_else)]`
|
2023-06-02 11:41:57 +02:00
|
|
|
|
2023-11-21 17:08:42 +00:00
|
|
|
error: aborting due to 1 previous error
|
2023-06-02 11:41:57 +02:00
|
|
|
|