summaryrefslogtreecommitdiffstats
path: root/src/test/ui/typeck/typeck-cast-pointer-to-float.stderr
blob: 81d968454be7b989b8d055fc2fcc0935de8da9fa (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 previous error

For more information about this error, try `rustc --explain E0606`.