2023-07-17 03:19:29 -05:00
|
|
|
error: this `else` branch is empty
|
2023-08-24 14:32:12 -05:00
|
|
|
--> $DIR/needless_else.rs:23:7
|
2023-06-02 04:41:57 -05:00
|
|
|
|
|
|
|
|
LL | } else {
|
|
|
|
| _______^
|
|
|
|
LL | | }
|
|
|
|
| |_____^ help: you can remove it
|
|
|
|
|
|
|
|
|
= note: `-D clippy::needless-else` implied by `-D warnings`
|
2023-08-01 07:02:21 -05:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::needless_else)]`
|
2023-06-02 04:41:57 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|