|
1 | | -error: The use of negated comparison operators on partially ordered types produces code that is hard to read and refactor. Please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable. |
| 1 | +error: the use of negated comparison operators on partially ordered types produces code that is hard to read and refactor. Please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable. |
2 | 2 | --> $DIR/neg_cmp_op_on_partial_ord.rs:16:21 |
3 | 3 | | |
4 | 4 | LL | let _not_less = !(a_value < another_value); |
5 | 5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
6 | 6 | | |
7 | 7 | = note: `-D clippy::neg-cmp-op-on-partial-ord` implied by `-D warnings` |
8 | 8 |
|
9 | | -error: The use of negated comparison operators on partially ordered types produces code that is hard to read and refactor. Please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable. |
| 9 | +error: the use of negated comparison operators on partially ordered types produces code that is hard to read and refactor. Please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable. |
10 | 10 | --> $DIR/neg_cmp_op_on_partial_ord.rs:19:30 |
11 | 11 | | |
12 | 12 | LL | let _not_less_or_equal = !(a_value <= another_value); |
13 | 13 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
14 | 14 |
|
15 | | -error: The use of negated comparison operators on partially ordered types produces code that is hard to read and refactor. Please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable. |
| 15 | +error: the use of negated comparison operators on partially ordered types produces code that is hard to read and refactor. Please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable. |
16 | 16 | --> $DIR/neg_cmp_op_on_partial_ord.rs:22:24 |
17 | 17 | | |
18 | 18 | LL | let _not_greater = !(a_value > another_value); |
19 | 19 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
20 | 20 |
|
21 | | -error: The use of negated comparison operators on partially ordered types produces code that is hard to read and refactor. Please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable. |
| 21 | +error: the use of negated comparison operators on partially ordered types produces code that is hard to read and refactor. Please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable. |
22 | 22 | --> $DIR/neg_cmp_op_on_partial_ord.rs:25:33 |
23 | 23 | | |
24 | 24 | LL | let _not_greater_or_equal = !(a_value >= another_value); |
|
0 commit comments