11error: this `if` has the same function call as a previous `if`
2- --> tests/ui/same_functions_in_if_condition.rs:39 :15
2+ --> tests/ui/same_functions_in_if_condition.rs:34 :15
33 |
44LL | } else if function() {
55 | ^^^^^^^^^^
66 |
77note: same as this
8- --> tests/ui/same_functions_in_if_condition.rs:38 :8
8+ --> tests/ui/same_functions_in_if_condition.rs:33 :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- --> tests/ui/same_functions_in_if_condition.rs:44 :15
19+ --> tests/ui/same_functions_in_if_condition.rs:39 :15
2020 |
2121LL | } else if fn_arg(a) {
2222 | ^^^^^^^^^
2323 |
2424note: same as this
25- --> tests/ui/same_functions_in_if_condition.rs:43 :8
25+ --> tests/ui/same_functions_in_if_condition.rs:38 :8
2626 |
2727LL | if fn_arg(a) {
2828 | ^^^^^^^^^
2929
3030error: this `if` has the same function call as a previous `if`
31- --> tests/ui/same_functions_in_if_condition.rs:49 :15
31+ --> tests/ui/same_functions_in_if_condition.rs:44 :15
3232 |
3333LL | } else if obj.method() {
3434 | ^^^^^^^^^^^^
3535 |
3636note: same as this
37- --> tests/ui/same_functions_in_if_condition.rs:48 :8
37+ --> tests/ui/same_functions_in_if_condition.rs:43 :8
3838 |
3939LL | if obj.method() {
4040 | ^^^^^^^^^^^^
4141
4242error: this `if` has the same function call as a previous `if`
43- --> tests/ui/same_functions_in_if_condition.rs:54 :15
43+ --> tests/ui/same_functions_in_if_condition.rs:49 :15
4444 |
4545LL | } else if obj.method_arg(a) {
4646 | ^^^^^^^^^^^^^^^^^
4747 |
4848note: same as this
49- --> tests/ui/same_functions_in_if_condition.rs:53 :8
49+ --> tests/ui/same_functions_in_if_condition.rs:48 :8
5050 |
5151LL | if obj.method_arg(a) {
5252 | ^^^^^^^^^^^^^^^^^
5353
5454error: this `if` has the same function call as a previous `if`
55- --> tests/ui/same_functions_in_if_condition.rs:60 :15
55+ --> tests/ui/same_functions_in_if_condition.rs:55 :15
5656 |
5757LL | } else if v.pop().is_none() {
5858 | ^^^^^^^^^^^^^^^^^
5959 |
6060note: same as this
61- --> tests/ui/same_functions_in_if_condition.rs:59 :8
61+ --> tests/ui/same_functions_in_if_condition.rs:54 :8
6262 |
6363LL | if v.pop().is_none() {
6464 | ^^^^^^^^^^^^^^^^^
6565
6666error: this `if` has the same function call as a previous `if`
67- --> tests/ui/same_functions_in_if_condition.rs:65 :15
67+ --> tests/ui/same_functions_in_if_condition.rs:60 :15
6868 |
6969LL | } else if v.len() == 42 {
7070 | ^^^^^^^^^^^^^
7171 |
7272note: same as this
73- --> tests/ui/same_functions_in_if_condition.rs:64 :8
73+ --> tests/ui/same_functions_in_if_condition.rs:59 :8
7474 |
7575LL | if v.len() == 42 {
7676 | ^^^^^^^^^^^^^
0 commit comments