summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/needless_else.stderr
blob: 66552109c48e17d9bad2252f1e187cc19d2252fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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