blob: 670ff73e28b209e932932dde14b3416bef28623a (
plain)
1
2
3
4
5
6
7
8
9
|
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 1 previous error
For more information about this error, try `rustc --explain E0606`.
|