2017-02-07 20:05:30 +00:00
|
|
|
error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
|
2017-05-17 12:19:44 +00:00
|
|
|
--> examples/cmp_nan.rs:8:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-02-08 13:58:07 +00:00
|
|
|
8 | x == std::f32::NAN;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
= note: `-D cmp-nan` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
|
2017-05-17 12:19:44 +00:00
|
|
|
--> examples/cmp_nan.rs:9:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-02-08 13:58:07 +00:00
|
|
|
9 | x != std::f32::NAN;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
= note: `-D cmp-nan` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
|
2017-05-17 12:19:44 +00:00
|
|
|
--> examples/cmp_nan.rs:10:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-02-08 13:58:07 +00:00
|
|
|
10 | x < std::f32::NAN;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
= note: `-D cmp-nan` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
|
2017-05-17 12:19:44 +00:00
|
|
|
--> examples/cmp_nan.rs:11:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-02-08 13:58:07 +00:00
|
|
|
11 | x > std::f32::NAN;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
= note: `-D cmp-nan` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
|
2017-05-17 12:19:44 +00:00
|
|
|
--> examples/cmp_nan.rs:12:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-02-08 13:58:07 +00:00
|
|
|
12 | x <= std::f32::NAN;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
= note: `-D cmp-nan` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
|
2017-05-17 12:19:44 +00:00
|
|
|
--> examples/cmp_nan.rs:13:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-02-08 13:58:07 +00:00
|
|
|
13 | x >= std::f32::NAN;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
= note: `-D cmp-nan` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
|
2017-05-17 12:19:44 +00:00
|
|
|
--> examples/cmp_nan.rs:16:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-02-08 13:58:07 +00:00
|
|
|
16 | y == std::f64::NAN;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
= note: `-D cmp-nan` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
|
2017-05-17 12:19:44 +00:00
|
|
|
--> examples/cmp_nan.rs:17:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-02-08 13:58:07 +00:00
|
|
|
17 | y != std::f64::NAN;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
= note: `-D cmp-nan` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
|
2017-05-17 12:19:44 +00:00
|
|
|
--> examples/cmp_nan.rs:18:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-02-08 13:58:07 +00:00
|
|
|
18 | y < std::f64::NAN;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
= note: `-D cmp-nan` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
|
2017-05-17 12:19:44 +00:00
|
|
|
--> examples/cmp_nan.rs:19:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-02-08 13:58:07 +00:00
|
|
|
19 | y > std::f64::NAN;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
= note: `-D cmp-nan` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
|
2017-05-17 12:19:44 +00:00
|
|
|
--> examples/cmp_nan.rs:20:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-02-08 13:58:07 +00:00
|
|
|
20 | y <= std::f64::NAN;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
= note: `-D cmp-nan` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
|
2017-05-17 12:19:44 +00:00
|
|
|
--> examples/cmp_nan.rs:21:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-02-08 13:58:07 +00:00
|
|
|
21 | y >= std::f64::NAN;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
= note: `-D cmp-nan` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: aborting due to 12 previous errors
|
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
error: Could not compile `clippy_tests`.
|
|
|
|
|
|
|
|
To learn more, run the command again with --verbose.
|