rust/tests/ui/needless_else.stderr

14 lines
347 B
Plaintext
Raw Normal View History

error: this `else` branch is empty
2024-02-17 06:16:29 -06:00
--> tests/ui/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