1 error: this `if` has the same function call as a previous `if`
2 --> $DIR/same_functions_in_if_condition.rs:31:15
4 LL | } else if function() {
7 = note: `-D clippy::same-functions-in-if-condition` implied by `-D warnings`
9 --> $DIR/same_functions_in_if_condition.rs:30:8
14 error: this `if` has the same function call as a previous `if`
15 --> $DIR/same_functions_in_if_condition.rs:36:15
17 LL | } else if fn_arg(a) {
21 --> $DIR/same_functions_in_if_condition.rs:35:8
26 error: this `if` has the same function call as a previous `if`
27 --> $DIR/same_functions_in_if_condition.rs:41:15
29 LL | } else if obj.method() {
33 --> $DIR/same_functions_in_if_condition.rs:40:8
35 LL | if obj.method() {
38 error: this `if` has the same function call as a previous `if`
39 --> $DIR/same_functions_in_if_condition.rs:46:15
41 LL | } else if obj.method_arg(a) {
45 --> $DIR/same_functions_in_if_condition.rs:45:8
47 LL | if obj.method_arg(a) {
50 error: this `if` has the same function call as a previous `if`
51 --> $DIR/same_functions_in_if_condition.rs:53:15
53 LL | } else if v.pop() == None {
57 --> $DIR/same_functions_in_if_condition.rs:51:8
59 LL | if v.pop() == None {
62 error: this `if` has the same function call as a previous `if`
63 --> $DIR/same_functions_in_if_condition.rs:58:15
65 LL | } else if v.len() == 42 {
69 --> $DIR/same_functions_in_if_condition.rs:56:8
71 LL | if v.len() == 42 {
74 error: aborting due to 6 previous errors