mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
c2c73189c8
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
13 lines
343 B
Text
13 lines
343 B
Text
error: this `else` branch is empty
|
|
--> $DIR/needless_else.rs:23:7
|
|
|
|
|
LL | } else {
|
|
| _______^
|
|
LL | | }
|
|
| |_____^ help: you can remove it
|
|
|
|
|
= note: `-D clippy::needless-else` implied by `-D warnings`
|
|
= help: to override `-D warnings` add `#[allow(clippy::needless_else)]`
|
|
|
|
error: aborting due to 1 previous error
|
|
|