fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
608 B17 linesraw
1error: transmute from a `f64` to a pointer
2  --> $DIR/transmute_64bit.rs:6:31
3   |
4LL |         let _: *const usize = std::mem::transmute(6.0f64);
5   |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7   = note: `-D clippy::wrong-transmute` implied by `-D warnings`
8   = help: to override `-D warnings` add `#[allow(clippy::wrong_transmute)]`
9
10error: transmute from a `f64` to a pointer
11  --> $DIR/transmute_64bit.rs:10:29
12   |
13LL |         let _: *mut usize = std::mem::transmute(6.0f64);
14   |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
15
16error: aborting due to 2 previous errors
17