summaryrefslogtreecommitdiffstats
path: root/tests/ui/cast/unsupported-cast.stderr
blob: 56a375a1d942a0ce33ac0cafcd305ee5e77f6eab (plain)
1
2
3
4
5
6
7
8
9
error[E0606]: casting `f64` as `*const A` is invalid
  --> $DIR/unsupported-cast.rs:4:20
   |
LL |   println!("{:?}", 1.0 as *const A);
   |                    ^^^^^^^^^^^^^^^

error: aborting due to previous error

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