2020-01-06 06:36:33 +00:00
|
|
|
error: doomed comparison with `NAN`, use `std::{f32,f64}::is_nan()` instead
|
2019-12-18 02:51:30 +00:00
|
|
|
--> $DIR/cmp_nan.rs:8:5
|
2018-10-06 16:18:06 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | x == std::f32::NAN;
|
2018-10-06 16:18:06 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::cmp-nan` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
2020-01-06 06:36:33 +00:00
|
|
|
error: doomed comparison with `NAN`, use `std::{f32,f64}::is_nan()` instead
|
2019-12-18 02:51:30 +00:00
|
|
|
--> $DIR/cmp_nan.rs:9:5
|
2018-10-06 16:18:06 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | x != std::f32::NAN;
|
2018-10-06 16:18:06 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
2020-01-06 06:36:33 +00:00
|
|
|
error: doomed comparison with `NAN`, use `std::{f32,f64}::is_nan()` instead
|
2019-12-18 02:51:30 +00:00
|
|
|
--> $DIR/cmp_nan.rs:10:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | x < std::f32::NAN;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
2020-01-06 06:36:33 +00:00
|
|
|
error: doomed comparison with `NAN`, use `std::{f32,f64}::is_nan()` instead
|
2019-12-18 02:51:30 +00:00
|
|
|
--> $DIR/cmp_nan.rs:11:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | x > std::f32::NAN;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
2020-01-06 06:36:33 +00:00
|
|
|
error: doomed comparison with `NAN`, use `std::{f32,f64}::is_nan()` instead
|
2019-12-18 02:51:30 +00:00
|
|
|
--> $DIR/cmp_nan.rs:12:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | x <= std::f32::NAN;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2020-01-06 06:36:33 +00:00
|
|
|
error: doomed comparison with `NAN`, use `std::{f32,f64}::is_nan()` instead
|
2019-12-18 02:51:30 +00:00
|
|
|
--> $DIR/cmp_nan.rs:13:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | x >= std::f32::NAN;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2020-01-06 06:36:33 +00:00
|
|
|
error: doomed comparison with `NAN`, use `std::{f32,f64}::is_nan()` instead
|
2019-12-18 02:51:30 +00:00
|
|
|
--> $DIR/cmp_nan.rs:14:5
|
|
|
|
|
|
|
|
|
LL | x == NAN_F32;
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
2020-01-06 06:36:33 +00:00
|
|
|
error: doomed comparison with `NAN`, use `std::{f32,f64}::is_nan()` instead
|
2019-12-18 02:51:30 +00:00
|
|
|
--> $DIR/cmp_nan.rs:15:5
|
|
|
|
|
|
|
|
|
LL | x != NAN_F32;
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
2020-01-06 06:36:33 +00:00
|
|
|
error: doomed comparison with `NAN`, use `std::{f32,f64}::is_nan()` instead
|
2019-12-18 02:51:30 +00:00
|
|
|
--> $DIR/cmp_nan.rs:16:5
|
|
|
|
|
|
|
|
|
LL | x < NAN_F32;
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
2020-01-06 06:36:33 +00:00
|
|
|
error: doomed comparison with `NAN`, use `std::{f32,f64}::is_nan()` instead
|
2019-12-18 02:51:30 +00:00
|
|
|
--> $DIR/cmp_nan.rs:17:5
|
|
|
|
|
|
|
|
|
LL | x > NAN_F32;
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
2020-01-06 06:36:33 +00:00
|
|
|
error: doomed comparison with `NAN`, use `std::{f32,f64}::is_nan()` instead
|
2019-12-18 02:51:30 +00:00
|
|
|
--> $DIR/cmp_nan.rs:18:5
|
|
|
|
|
|
|
|
|
LL | x <= NAN_F32;
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
2020-01-06 06:36:33 +00:00
|
|
|
error: doomed comparison with `NAN`, use `std::{f32,f64}::is_nan()` instead
|
2019-12-18 02:51:30 +00:00
|
|
|
--> $DIR/cmp_nan.rs:19:5
|
|
|
|
|
|
|
|
|
LL | x >= NAN_F32;
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
2020-01-06 06:36:33 +00:00
|
|
|
error: doomed comparison with `NAN`, use `std::{f32,f64}::is_nan()` instead
|
2019-12-18 02:51:30 +00:00
|
|
|
--> $DIR/cmp_nan.rs:22:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | y == std::f64::NAN;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2020-01-06 06:36:33 +00:00
|
|
|
error: doomed comparison with `NAN`, use `std::{f32,f64}::is_nan()` instead
|
2019-12-18 02:51:30 +00:00
|
|
|
--> $DIR/cmp_nan.rs:23:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | y != std::f64::NAN;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2020-01-06 06:36:33 +00:00
|
|
|
error: doomed comparison with `NAN`, use `std::{f32,f64}::is_nan()` instead
|
2019-12-18 02:51:30 +00:00
|
|
|
--> $DIR/cmp_nan.rs:24:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | y < std::f64::NAN;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
2020-01-06 06:36:33 +00:00
|
|
|
error: doomed comparison with `NAN`, use `std::{f32,f64}::is_nan()` instead
|
2019-12-18 02:51:30 +00:00
|
|
|
--> $DIR/cmp_nan.rs:25:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | y > std::f64::NAN;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
2020-01-06 06:36:33 +00:00
|
|
|
error: doomed comparison with `NAN`, use `std::{f32,f64}::is_nan()` instead
|
2019-12-18 02:51:30 +00:00
|
|
|
--> $DIR/cmp_nan.rs:26:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | y <= std::f64::NAN;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2020-01-06 06:36:33 +00:00
|
|
|
error: doomed comparison with `NAN`, use `std::{f32,f64}::is_nan()` instead
|
2019-12-18 02:51:30 +00:00
|
|
|
--> $DIR/cmp_nan.rs:27:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | y >= std::f64::NAN;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2020-01-06 06:36:33 +00:00
|
|
|
error: doomed comparison with `NAN`, use `std::{f32,f64}::is_nan()` instead
|
2019-12-18 02:51:30 +00:00
|
|
|
--> $DIR/cmp_nan.rs:28:5
|
|
|
|
|
|
|
|
|
LL | y == NAN_F64;
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
2020-01-06 06:36:33 +00:00
|
|
|
error: doomed comparison with `NAN`, use `std::{f32,f64}::is_nan()` instead
|
2019-12-18 02:51:30 +00:00
|
|
|
--> $DIR/cmp_nan.rs:29:5
|
|
|
|
|
|
|
|
|
LL | y != NAN_F64;
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
2020-01-06 06:36:33 +00:00
|
|
|
error: doomed comparison with `NAN`, use `std::{f32,f64}::is_nan()` instead
|
2019-12-18 02:51:30 +00:00
|
|
|
--> $DIR/cmp_nan.rs:30:5
|
|
|
|
|
|
|
|
|
LL | y < NAN_F64;
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
2020-01-06 06:36:33 +00:00
|
|
|
error: doomed comparison with `NAN`, use `std::{f32,f64}::is_nan()` instead
|
2019-12-18 02:51:30 +00:00
|
|
|
--> $DIR/cmp_nan.rs:31:5
|
|
|
|
|
|
|
|
|
LL | y > NAN_F64;
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
2020-01-06 06:36:33 +00:00
|
|
|
error: doomed comparison with `NAN`, use `std::{f32,f64}::is_nan()` instead
|
2019-12-18 02:51:30 +00:00
|
|
|
--> $DIR/cmp_nan.rs:32:5
|
|
|
|
|
|
|
|
|
LL | y <= NAN_F64;
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
2020-01-06 06:36:33 +00:00
|
|
|
error: doomed comparison with `NAN`, use `std::{f32,f64}::is_nan()` instead
|
2019-12-18 02:51:30 +00:00
|
|
|
--> $DIR/cmp_nan.rs:33:5
|
|
|
|
|
|
|
|
|
LL | y >= NAN_F64;
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 24 previous errors
|
2018-01-16 16:06:27 +00:00
|
|
|
|