2023-07-17 03:19:29 -05:00
|
|
|
error: this `else` branch is empty
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/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
|
|
|
|
2023-11-21 11:08:42 -06:00
|
|
|
error: aborting due to 1 previous error
|
2023-06-02 04:41:57 -05:00
|
|
|
|