148 |
#[test]
|
149 |
#[allow(clippy::neg_cmp_op_on_partial_ord)]
|
150 |
fn test_vclock_ordering() {
|
11 |
#[test]
|
12 |
#[allow(clippy::neg_cmp_op_on_partial_ord)]
|
13 |
fn test_comparison_002() {
|
211 |
/// Find the more compatible version.
|
212 |
#[allow(clippy::neg_cmp_op_on_partial_ord)]
|
213 |
fn compatible<'a>(a: &'a VerLink, b: &'a VerLink) -> Option<&'a VerLink> {
|
1159 |
#[test]
|
1160 |
#[allow(clippy::neg_cmp_op_on_partial_ord)]
|
1161 |
fn test_equal() {
|
1170 |
#[test]
|
1171 |
#[allow(clippy::neg_cmp_op_on_partial_ord)]
|
1172 |
fn test_hash_order() {
|
1204 |
#[test]
|
1205 |
#[allow(clippy::neg_cmp_op_on_partial_ord)]
|
1206 |
fn test_wallclock_order() {
|
1230 |
#[should_panic(expected = "labels mismatch!")]
|
1231 |
#[allow(clippy::neg_cmp_op_on_partial_ord)]
|
1232 |
fn test_label_order() {
|
53 |
for (mut k, &weight) in (1usize..).zip(weights) {
|
54 |
#[allow(clippy::neg_cmp_op_on_partial_ord)]
|
55 |
// weight < zero does not work for NaNs.
|
125 |
let zero = <T as Default>::default();
|
126 |
#[allow(clippy::neg_cmp_op_on_partial_ord)]
|
127 |
// self.sum <= zero does not work for NaNs.
|
1321 |
clippy::float_cmp,
|
1322 |
clippy::neg_cmp_op_on_partial_ord
|
1323 |
)]
|
1336 |
clippy::float_cmp,
|
1337 |
clippy::neg_cmp_op_on_partial_ord
|
1338 |
)]
|
103 |
#[allow(clippy::neg_cmp_op_on_partial_ord)]
|
104 |
fn set_value(&mut self, value: T) {
|
113 |
#[allow(clippy::neg_cmp_op_on_partial_ord)]
|
114 |
fn est_max_curvature(c: CubicBez) -> f64 {
|
129 |
}
|
130 |
#[allow(clippy::neg_cmp_op_on_partial_ord)]
|
131 |
while !(cost <= self.at(*time).remaining) {
|
2081 |
#[test]
|
2082 |
#[allow(clippy::neg_cmp_op_on_partial_ord)]
|
2083 |
fn cmp() -> Result<(), XsdParseError> {
|
287 |
#[test]
|
288 |
#[allow(clippy::neg_cmp_op_on_partial_ord)]
|
289 |
/// Test mixed comparison of longs & doubles.
|
364 |
#[allow(clippy::neg_cmp_op_on_partial_ord)]
|
365 |
#[test]
|
138 |
// we don't want to use partial_cmp, for performance
|
139 |
#[allow(clippy::neg_cmp_op_on_partial_ord)]
|
140 |
if !(total_rate > 0.) {
|
8 |
#[inline(always)]
|
9 |
#[allow(clippy::neg_cmp_op_on_partial_ord)]
|
10 |
pub fn is_empty_range<T: PartialOrd<T>>(range: &Range<T>) -> bool {
|
1331 |
#[test]
|
1332 |
#[allow(clippy::neg_cmp_op_on_partial_ord)]
|
1333 |
fn test_equal() {
|
1342 |
#[test]
|
1343 |
#[allow(clippy::neg_cmp_op_on_partial_ord)]
|
1344 |
fn test_hash_order() {
|
1376 |
#[test]
|
1377 |
#[allow(clippy::neg_cmp_op_on_partial_ord)]
|
1378 |
fn test_wallclock_order() {
|
1402 |
#[should_panic(expected = "labels mismatch!")]
|
1403 |
#[allow(clippy::neg_cmp_op_on_partial_ord)]
|
1404 |
fn test_label_order() {
|
44 |
for (mut k, &weight) in (1usize..).zip(weights) {
|
45 |
#[allow(clippy::neg_cmp_op_on_partial_ord)]
|
46 |
// weight < zero does not work for NaNs.
|
281 |
#[allow(clippy::eq_op, clippy::neg_cmp_op_on_partial_ord)]
|
282 |
#[cfg(test)]
|
14 |
clippy::collapsible_if,
|
15 |
clippy::neg_cmp_op_on_partial_ord,
|
16 |
clippy::single_match,
|
103 |
clippy::module_inception,
|
104 |
clippy::neg_cmp_op_on_partial_ord,
|
105 |
clippy::missing_safety_doc,
|
20 |
#![allow(clippy::needless_lifetimes)]
|
21 |
#![allow(clippy::neg_cmp_op_on_partial_ord)]
|
2 |
#![allow(clippy::if_same_then_else)]
|
3 |
#![allow(clippy::neg_cmp_op_on_partial_ord)]
|
4 |
// FIXME: Or don't. But it's true this is a problematic comparison.
|
5 |
#![allow(clippy::neg_cmp_op_on_partial_ord)]
|
55 |
clippy::float_cmp,
|
56 |
clippy::neg_cmp_op_on_partial_ord,
|
57 |
)]
|
20 |
)]
|
21 |
#![allow(clippy::neg_cmp_op_on_partial_ord)] // suggested fix too verbose
|
22 |
#![no_std]
|
24 |
#![allow(clippy::manual_range_contains)]
|
25 |
#![allow(clippy::neg_cmp_op_on_partial_ord)]
|
26 |
#![allow(clippy::too_many_arguments)]
|
7 |
#![allow(clippy::clone_on_copy)]
|
8 |
#![allow(clippy::neg_cmp_op_on_partial_ord)]
|
56 |
#![allow(clippy::too_many_arguments)]
|
57 |
#![allow(clippy::neg_cmp_op_on_partial_ord)]
|
58 |
#![allow(clippy::identity_op)]
|
18 |
#![allow(clippy::too_many_arguments)]
|
19 |
#![allow(clippy::neg_cmp_op_on_partial_ord)]
|
20 |
#![allow(clippy::identity_op)]
|
56 |
#![allow(clippy::too_many_arguments)]
|
57 |
#![allow(clippy::neg_cmp_op_on_partial_ord)]
|
58 |
#![allow(clippy::identity_op)]
|
18 |
#![allow(clippy::too_many_arguments)]
|
19 |
#![allow(clippy::neg_cmp_op_on_partial_ord)]
|
20 |
#![allow(clippy::identity_op)]
|