1 error: The use of negated comparision operators on partially orded types produces code that is hard to read and refactor. Please consider to use the `partial_cmp` instead, to make it clear that the two values could be incomparable.
2 --> $DIR/neg_cmp_op_on_partial_ord.rs:17:21
4 17 | let _not_less = !(a_value < another_value);
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
7 = note: `-D neg-cmp-op-on-partial-ord` implied by `-D warnings`
9 error: The use of negated comparision operators on partially orded types produces code that is hard to read and refactor. Please consider to use the `partial_cmp` instead, to make it clear that the two values could be incomparable.
10 --> $DIR/neg_cmp_op_on_partial_ord.rs:20:30
12 20 | let _not_less_or_equal = !(a_value <= another_value);
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
15 error: The use of negated comparision operators on partially orded types produces code that is hard to read and refactor. Please consider to use the `partial_cmp` instead, to make it clear that the two values could be incomparable.
16 --> $DIR/neg_cmp_op_on_partial_ord.rs:23:24
18 23 | let _not_greater = !(a_value > another_value);
19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
21 error: The use of negated comparision operators on partially orded types produces code that is hard to read and refactor. Please consider to use the `partial_cmp` instead, to make it clear that the two values could be incomparable.
22 --> $DIR/neg_cmp_op_on_partial_ord.rs:26:33
24 26 | let _not_greater_or_equal = !(a_value >= another_value);
25 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
27 error: aborting due to 4 previous errors