1 error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
2 --> $DIR/cmp_nan.rs:8:5
4 8 | x == std::f32::NAN;
7 = note: `-D cmp-nan` implied by `-D warnings`
9 error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
10 --> $DIR/cmp_nan.rs:9:5
12 9 | x != std::f32::NAN;
15 error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
16 --> $DIR/cmp_nan.rs:10:5
18 10 | x < std::f32::NAN;
21 error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
22 --> $DIR/cmp_nan.rs:11:5
24 11 | x > std::f32::NAN;
27 error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
28 --> $DIR/cmp_nan.rs:12:5
30 12 | x <= std::f32::NAN;
33 error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
34 --> $DIR/cmp_nan.rs:13:5
36 13 | x >= std::f32::NAN;
39 error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
40 --> $DIR/cmp_nan.rs:16:5
42 16 | y == std::f64::NAN;
45 error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
46 --> $DIR/cmp_nan.rs:17:5
48 17 | y != std::f64::NAN;
51 error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
52 --> $DIR/cmp_nan.rs:18:5
54 18 | y < std::f64::NAN;
57 error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
58 --> $DIR/cmp_nan.rs:19:5
60 19 | y > std::f64::NAN;
63 error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
64 --> $DIR/cmp_nan.rs:20:5
66 20 | y <= std::f64::NAN;
69 error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
70 --> $DIR/cmp_nan.rs:21:5
72 21 | y >= std::f64::NAN;