1 error: this `if` has the same function call as a previous `if`
2 --> $DIR/same_functions_in_if_condition.rs:37:15
4 LL | } else if function() {
8 --> $DIR/same_functions_in_if_condition.rs:36:8
12 = note: `-D clippy::same-functions-in-if-condition` implied by `-D warnings`
14 error: this `if` has the same function call as a previous `if`
15 --> $DIR/same_functions_in_if_condition.rs:42:15
17 LL | } else if fn_arg(a) {
21 --> $DIR/same_functions_in_if_condition.rs:41:8
26 error: this `if` has the same function call as a previous `if`
27 --> $DIR/same_functions_in_if_condition.rs:47:15
29 LL | } else if obj.method() {
33 --> $DIR/same_functions_in_if_condition.rs:46: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:52:15
41 LL | } else if obj.method_arg(a) {
45 --> $DIR/same_functions_in_if_condition.rs:51: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:59:15
53 LL | } else if v.pop().is_none() {
57 --> $DIR/same_functions_in_if_condition.rs:57:8
59 LL | if v.pop().is_none() {
62 error: this `if` has the same function call as a previous `if`
63 --> $DIR/same_functions_in_if_condition.rs:64:15
65 LL | } else if v.len() == 42 {
69 --> $DIR/same_functions_in_if_condition.rs:62:8
71 LL | if v.len() == 42 {
74 error: aborting due to 6 previous errors