2018-08-08 07:28:26 -05:00
|
|
|
error[E0606]: casting `f64` as `*const A` is invalid
|
2021-01-28 11:42:44 -06:00
|
|
|
--> $DIR/unsupported-cast.rs:4:20
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2021-01-28 11:42:44 -06:00
|
|
|
LL | println!("{:?}", 1.0 as *const A);
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0606`.
|