1 warning: equal expressions as operands to `/`
2 --> $DIR/zero_div_zero.rs:7:15
4 7 | let nan = 0.0 / 0.0;
7 = note: #[warn(eq_op)] on by default
9 error: constant division of 0.0 with 0.0 will always result in NaN
10 --> $DIR/zero_div_zero.rs:7:15
12 7 | let nan = 0.0 / 0.0;
15 note: lint level defined here
16 --> $DIR/zero_div_zero.rs:5:8
18 5 | #[deny(zero_divided_by_zero)]
19 | ^^^^^^^^^^^^^^^^^^^^
20 = help: Consider using `std::f32::NAN` if you would like a constant representing NaN
22 warning: equal expressions as operands to `/`
23 --> $DIR/zero_div_zero.rs:8:19
25 8 | let f64_nan = 0.0 / 0.0f64;
28 = note: #[warn(eq_op)] on by default
30 error: constant division of 0.0 with 0.0 will always result in NaN
31 --> $DIR/zero_div_zero.rs:8:19
33 8 | let f64_nan = 0.0 / 0.0f64;
36 = help: Consider using `std::f64::NAN` if you would like a constant representing NaN
38 warning: equal expressions as operands to `/`
39 --> $DIR/zero_div_zero.rs:9:25
41 9 | let other_f64_nan = 0.0f64 / 0.0;
44 = note: #[warn(eq_op)] on by default
46 error: constant division of 0.0 with 0.0 will always result in NaN
47 --> $DIR/zero_div_zero.rs:9:25
49 9 | let other_f64_nan = 0.0f64 / 0.0;
52 = help: Consider using `std::f64::NAN` if you would like a constant representing NaN
54 warning: equal expressions as operands to `/`
55 --> $DIR/zero_div_zero.rs:10:28
57 10 | let one_more_f64_nan = 0.0f64/0.0f64;
60 = note: #[warn(eq_op)] on by default
62 error: constant division of 0.0 with 0.0 will always result in NaN
63 --> $DIR/zero_div_zero.rs:10:28
65 10 | let one_more_f64_nan = 0.0f64/0.0f64;
68 = help: Consider using `std::f64::NAN` if you would like a constant representing NaN
70 error: aborting due to 4 previous errors