]> git.lizzy.rs Git - rust.git/blob - src/test/ui/cast/unsupported-cast.stderr
Auto merge of #97191 - wesleywiser:main_thread_name, r=ChrisDenton
[rust.git] / src / test / ui / cast / unsupported-cast.stderr
1 error[E0606]: casting `f64` as `*const A` is invalid
2   --> $DIR/unsupported-cast.rs:4:20
3    |
4 LL |   println!("{:?}", 1.0 as *const A);
5    |                    ^^^^^^^^^^^^^^^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0606`.