blob: 81d968454be7b989b8d055fc2fcc0935de8da9fa [file] [log] [blame]
error[E0606]: casting `*const i16` as `f32` is invalid
--> $DIR/typeck-cast-pointer-to-float.rs:3:5
|
LL | ((&x) as *const i16) as f32;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0606`.