1 error: this `if` has the same function call as a previous if
2 --> $DIR/same_functions_in_if_condition.rs:29: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:28:8
14 error: this `if` has the same function call as a previous if
15 --> $DIR/same_functions_in_if_condition.rs:34:15
17 LL | } else if fn_arg(a) {
21 --> $DIR/same_functions_in_if_condition.rs:33:8
26 error: this `if` has the same function call as a previous if
27 --> $DIR/same_functions_in_if_condition.rs:39:15
29 LL | } else if obj.method() {
33 --> $DIR/same_functions_in_if_condition.rs:38: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:44:15
41 LL | } else if obj.method_arg(a) {
45 --> $DIR/same_functions_in_if_condition.rs:43: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:51:15
53 LL | } else if v.pop() == None {
57 --> $DIR/same_functions_in_if_condition.rs:49: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:56:15
65 LL | } else if v.len() == 42 {
69 --> $DIR/same_functions_in_if_condition.rs:54:8
71 LL | if v.len() == 42 {
74 error: aborting due to 6 previous errors