about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/needless_else.stderr
blob: 77ead31b31cc909206ce79dbe61e5cb3321cc4d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: this `else` branch is empty
  --> 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