1 error: equal expressions as operands to `/`
2 --> zero_div_zero.rs:7:15
4 7 | let nan = 0.0 / 0.0;
7 = note: `-D eq-op` implied by `-D warnings`
9 error: constant division of 0.0 with 0.0 will always result in NaN
10 --> zero_div_zero.rs:7:15
12 7 | let nan = 0.0 / 0.0;
15 = note: `-D zero-divided-by-zero` implied by `-D warnings`
16 = help: Consider using `std::f32::NAN` if you would like a constant representing NaN
18 error: equal expressions as operands to `/`
19 --> zero_div_zero.rs:8:19
21 8 | let f64_nan = 0.0 / 0.0f64;
24 = note: `-D eq-op` implied by `-D warnings`
26 error: constant division of 0.0 with 0.0 will always result in NaN
27 --> zero_div_zero.rs:8:19
29 8 | let f64_nan = 0.0 / 0.0f64;
32 = note: `-D zero-divided-by-zero` implied by `-D warnings`
33 = help: Consider using `std::f64::NAN` if you would like a constant representing NaN
35 error: equal expressions as operands to `/`
36 --> zero_div_zero.rs:9:25
38 9 | let other_f64_nan = 0.0f64 / 0.0;
41 = note: `-D eq-op` implied by `-D warnings`
43 error: constant division of 0.0 with 0.0 will always result in NaN
44 --> zero_div_zero.rs:9:25
46 9 | let other_f64_nan = 0.0f64 / 0.0;
49 = note: `-D zero-divided-by-zero` implied by `-D warnings`
50 = help: Consider using `std::f64::NAN` if you would like a constant representing NaN
52 error: equal expressions as operands to `/`
53 --> zero_div_zero.rs:10:28
55 10 | let one_more_f64_nan = 0.0f64/0.0f64;
58 = note: `-D eq-op` implied by `-D warnings`
60 error: constant division of 0.0 with 0.0 will always result in NaN
61 --> zero_div_zero.rs:10:28
63 10 | let one_more_f64_nan = 0.0f64/0.0f64;
66 = note: `-D zero-divided-by-zero` implied by `-D warnings`
67 = help: Consider using `std::f64::NAN` if you would like a constant representing NaN
69 error: aborting due to previous error(s)
71 error: Could not compile `clippy_tests`.
73 To learn more, run the command again with --verbose.