]> git.proxmox.com Git - rustc.git/blob - src/test/ui/unsupported-cast.stderr
New upstream version 1.50.0+dfsg1
[rustc.git] / src / test / ui / unsupported-cast.stderr
1 error[E0606]: casting `f64` as `*const A` is invalid
2 --> $DIR/unsupported-cast.rs:6:20
3 |
4 LL | println!("{:?}", 1.0 as *const A); // Can't cast float to foreign.
5 | ^^^^^^^^^^^^^^^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0606`.