11error: this `if` has the same function call as a previous `if`
2- --> $DIR/same_functions_in_if_condition.rs:37 :15
2+ --> $DIR/same_functions_in_if_condition.rs:39 :15
33 |
44LL | } else if function() {
55 | ^^^^^^^^^^
66 |
77note: same as this
8- --> $DIR/same_functions_in_if_condition.rs:36 :8
8+ --> $DIR/same_functions_in_if_condition.rs:38 :8
99 |
1010LL | if function() {
1111 | ^^^^^^^^^^
@@ -16,61 +16,61 @@ LL | #![deny(clippy::same_functions_in_if_condition)]
1616 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1717
1818error: this `if` has the same function call as a previous `if`
19- --> $DIR/same_functions_in_if_condition.rs:42 :15
19+ --> $DIR/same_functions_in_if_condition.rs:44 :15
2020 |
2121LL | } else if fn_arg(a) {
2222 | ^^^^^^^^^
2323 |
2424note: same as this
25- --> $DIR/same_functions_in_if_condition.rs:41 :8
25+ --> $DIR/same_functions_in_if_condition.rs:43 :8
2626 |
2727LL | if fn_arg(a) {
2828 | ^^^^^^^^^
2929
3030error: this `if` has the same function call as a previous `if`
31- --> $DIR/same_functions_in_if_condition.rs:47 :15
31+ --> $DIR/same_functions_in_if_condition.rs:49 :15
3232 |
3333LL | } else if obj.method() {
3434 | ^^^^^^^^^^^^
3535 |
3636note: same as this
37- --> $DIR/same_functions_in_if_condition.rs:46 :8
37+ --> $DIR/same_functions_in_if_condition.rs:48 :8
3838 |
3939LL | if obj.method() {
4040 | ^^^^^^^^^^^^
4141
4242error: this `if` has the same function call as a previous `if`
43- --> $DIR/same_functions_in_if_condition.rs:52 :15
43+ --> $DIR/same_functions_in_if_condition.rs:54 :15
4444 |
4545LL | } else if obj.method_arg(a) {
4646 | ^^^^^^^^^^^^^^^^^
4747 |
4848note: same as this
49- --> $DIR/same_functions_in_if_condition.rs:51 :8
49+ --> $DIR/same_functions_in_if_condition.rs:53 :8
5050 |
5151LL | if obj.method_arg(a) {
5252 | ^^^^^^^^^^^^^^^^^
5353
5454error: this `if` has the same function call as a previous `if`
55- --> $DIR/same_functions_in_if_condition.rs:59 :15
55+ --> $DIR/same_functions_in_if_condition.rs:61 :15
5656 |
5757LL | } else if v.pop().is_none() {
5858 | ^^^^^^^^^^^^^^^^^
5959 |
6060note: same as this
61- --> $DIR/same_functions_in_if_condition.rs:57 :8
61+ --> $DIR/same_functions_in_if_condition.rs:59 :8
6262 |
6363LL | if v.pop().is_none() {
6464 | ^^^^^^^^^^^^^^^^^
6565
6666error: this `if` has the same function call as a previous `if`
67- --> $DIR/same_functions_in_if_condition.rs:64 :15
67+ --> $DIR/same_functions_in_if_condition.rs:66 :15
6868 |
6969LL | } else if v.len() == 42 {
7070 | ^^^^^^^^^^^^^
7171 |
7272note: same as this
73- --> $DIR/same_functions_in_if_condition.rs:62 :8
73+ --> $DIR/same_functions_in_if_condition.rs:64 :8
7474 |
7575LL | if v.len() == 42 {
7676 | ^^^^^^^^^^^^^
0 commit comments