]> git.lizzy.rs Git - rust.git/blob - clippy_tests/examples/cmp_nan.stderr
Fix the test suite after cargo update
[rust.git] / clippy_tests / examples / cmp_nan.stderr
1 error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
2  --> cmp_nan.rs:8:5
3   |
4 8 |     x == std::f32::NAN;
5   |     ^^^^^^^^^^^^^^^^^^
6   |
7   = note: `-D cmp-nan` implied by `-D warnings`
8
9 error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
10  --> cmp_nan.rs:9:5
11   |
12 9 |     x != std::f32::NAN;
13   |     ^^^^^^^^^^^^^^^^^^
14   |
15   = note: `-D cmp-nan` implied by `-D warnings`
16
17 error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
18   --> cmp_nan.rs:10:5
19    |
20 10 |     x < std::f32::NAN;
21    |     ^^^^^^^^^^^^^^^^^
22    |
23    = note: `-D cmp-nan` implied by `-D warnings`
24
25 error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
26   --> cmp_nan.rs:11:5
27    |
28 11 |     x > std::f32::NAN;
29    |     ^^^^^^^^^^^^^^^^^
30    |
31    = note: `-D cmp-nan` implied by `-D warnings`
32
33 error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
34   --> cmp_nan.rs:12:5
35    |
36 12 |     x <= std::f32::NAN;
37    |     ^^^^^^^^^^^^^^^^^^
38    |
39    = note: `-D cmp-nan` implied by `-D warnings`
40
41 error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
42   --> cmp_nan.rs:13:5
43    |
44 13 |     x >= std::f32::NAN;
45    |     ^^^^^^^^^^^^^^^^^^
46    |
47    = note: `-D cmp-nan` implied by `-D warnings`
48
49 error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
50   --> cmp_nan.rs:16:5
51    |
52 16 |     y == std::f64::NAN;
53    |     ^^^^^^^^^^^^^^^^^^
54    |
55    = note: `-D cmp-nan` implied by `-D warnings`
56
57 error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
58   --> cmp_nan.rs:17:5
59    |
60 17 |     y != std::f64::NAN;
61    |     ^^^^^^^^^^^^^^^^^^
62    |
63    = note: `-D cmp-nan` implied by `-D warnings`
64
65 error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
66   --> cmp_nan.rs:18:5
67    |
68 18 |     y < std::f64::NAN;
69    |     ^^^^^^^^^^^^^^^^^
70    |
71    = note: `-D cmp-nan` implied by `-D warnings`
72
73 error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
74   --> cmp_nan.rs:19:5
75    |
76 19 |     y > std::f64::NAN;
77    |     ^^^^^^^^^^^^^^^^^
78    |
79    = note: `-D cmp-nan` implied by `-D warnings`
80
81 error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
82   --> cmp_nan.rs:20:5
83    |
84 20 |     y <= std::f64::NAN;
85    |     ^^^^^^^^^^^^^^^^^^
86    |
87    = note: `-D cmp-nan` implied by `-D warnings`
88
89 error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
90   --> cmp_nan.rs:21:5
91    |
92 21 |     y >= std::f64::NAN;
93    |     ^^^^^^^^^^^^^^^^^^
94    |
95    = note: `-D cmp-nan` implied by `-D warnings`
96
97 error: aborting due to previous error(s)
98
99
100 To learn more, run the command again with --verbose.