]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/typeck-cast-pointer-to-float.stderr
Rollup merge of #107355 - JohnTitor:issue-60755, r=compiler-errors
[rust.git] / tests / ui / typeck / typeck-cast-pointer-to-float.stderr
1 error[E0606]: casting `*const i16` as `f32` is invalid
2   --> $DIR/typeck-cast-pointer-to-float.rs:3:5
3    |
4 LL |     ((&x) as *const i16) as f32;
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0606`.