error: this `if` has identical blocks
- --> $DIR/if_same_then_else2.rs:20:12
+ --> $DIR/if_same_then_else2.rs:19:12
|
LL | } else {
| ____________^
|
= note: `-D clippy::if-same-then-else` implied by `-D warnings`
note: same as this
- --> $DIR/if_same_then_else2.rs:11:13
+ --> $DIR/if_same_then_else2.rs:10:13
|
LL | if true {
| _____________^
| |_____^
error: this `if` has identical blocks
- --> $DIR/if_same_then_else2.rs:34:12
+ --> $DIR/if_same_then_else2.rs:33:12
|
LL | } else {
| ____________^
| |_____^
|
note: same as this
- --> $DIR/if_same_then_else2.rs:32:13
+ --> $DIR/if_same_then_else2.rs:31:13
|
LL | if true {
| _____________^
| |_____^
error: this `if` has identical blocks
- --> $DIR/if_same_then_else2.rs:41:12
+ --> $DIR/if_same_then_else2.rs:40:12
|
LL | } else {
| ____________^
| |_____^
|
note: same as this
- --> $DIR/if_same_then_else2.rs:39:13
+ --> $DIR/if_same_then_else2.rs:38:13
|
LL | if true {
| _____________^
| |_____^
error: this `if` has identical blocks
- --> $DIR/if_same_then_else2.rs:91:12
+ --> $DIR/if_same_then_else2.rs:90:12
|
LL | } else {
| ____________^
| |_____^
|
note: same as this
- --> $DIR/if_same_then_else2.rs:89:21
+ --> $DIR/if_same_then_else2.rs:88:21
|
LL | let _ = if true {
| _____________________^
| |_____^
error: this `if` has identical blocks
- --> $DIR/if_same_then_else2.rs:98:12
+ --> $DIR/if_same_then_else2.rs:97:12
|
LL | } else {
| ____________^
| |_____^
|
note: same as this
- --> $DIR/if_same_then_else2.rs:96:13
+ --> $DIR/if_same_then_else2.rs:95:13
|
LL | if true {
| _____________^
| |_____^
error: this `if` has identical blocks
- --> $DIR/if_same_then_else2.rs:123:12
+ --> $DIR/if_same_then_else2.rs:122:12
|
LL | } else {
| ____________^
| |_____^
|
note: same as this
- --> $DIR/if_same_then_else2.rs:120:20
+ --> $DIR/if_same_then_else2.rs:119:20
|
LL | } else if true {
| ____________________^