1 error: casting `i8` to `f32` may become silently lossy if you later change the type
2 --> $DIR/cast_lossless_float.rs:9:5
5 | ^^^^^^^^^ help: try: `f32::from(x0)`
7 = note: `-D clippy::cast-lossless` implied by `-D warnings`
9 error: casting `i8` to `f64` may become silently lossy if you later change the type
10 --> $DIR/cast_lossless_float.rs:10:5
13 | ^^^^^^^^^ help: try: `f64::from(x0)`
15 error: casting `u8` to `f32` may become silently lossy if you later change the type
16 --> $DIR/cast_lossless_float.rs:12:5
19 | ^^^^^^^^^ help: try: `f32::from(x1)`
21 error: casting `u8` to `f64` may become silently lossy if you later change the type
22 --> $DIR/cast_lossless_float.rs:13:5
25 | ^^^^^^^^^ help: try: `f64::from(x1)`
27 error: casting `i16` to `f32` may become silently lossy if you later change the type
28 --> $DIR/cast_lossless_float.rs:15:5
31 | ^^^^^^^^^ help: try: `f32::from(x2)`
33 error: casting `i16` to `f64` may become silently lossy if you later change the type
34 --> $DIR/cast_lossless_float.rs:16:5
37 | ^^^^^^^^^ help: try: `f64::from(x2)`
39 error: casting `u16` to `f32` may become silently lossy if you later change the type
40 --> $DIR/cast_lossless_float.rs:18:5
43 | ^^^^^^^^^ help: try: `f32::from(x3)`
45 error: casting `u16` to `f64` may become silently lossy if you later change the type
46 --> $DIR/cast_lossless_float.rs:19:5
49 | ^^^^^^^^^ help: try: `f64::from(x3)`
51 error: casting `i32` to `f64` may become silently lossy if you later change the type
52 --> $DIR/cast_lossless_float.rs:21:5
55 | ^^^^^^^^^ help: try: `f64::from(x4)`
57 error: casting `u32` to `f64` may become silently lossy if you later change the type
58 --> $DIR/cast_lossless_float.rs:23:5
61 | ^^^^^^^^^ help: try: `f64::from(x5)`
63 error: casting `f32` to `f64` may become silently lossy if you later change the type
64 --> $DIR/cast_lossless_float.rs:26:5
67 | ^^^^^^^^^^^^^ help: try: `f64::from(1.0f32)`
69 error: aborting due to 11 previous errors