File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ LL | let _: unsafe extern "rust-intrinsic" fn(isize) -> usize = std::mem::tr
88 | help: use parentheses to call this function: `std::mem::transmute(...)`
99 |
1010 = note: expected type `unsafe extern "rust-intrinsic" fn(isize) -> usize`
11- found type `unsafe extern "rust-intrinsic" fn(_) -> _ {std::mem ::transmute::<_, _>}`
11+ found type `unsafe extern "rust-intrinsic" fn(_) -> _ {std::intrinsics ::transmute::<_, _>}`
1212
13- error[E0606]: casting `unsafe extern "rust-intrinsic" fn(_) -> _ {std::mem ::transmute::<_, _>}` as `unsafe extern "rust-intrinsic" fn(isize) -> usize` is invalid
13+ error[E0606]: casting `unsafe extern "rust-intrinsic" fn(_) -> _ {std::intrinsics ::transmute::<_, _>}` as `unsafe extern "rust-intrinsic" fn(isize) -> usize` is invalid
1414 --> $DIR/reify-intrinsic.rs:11:13
1515 |
1616LL | let _ = std::mem::transmute as unsafe extern "rust-intrinsic" fn(isize) -> usize;
You can’t perform that action at this time.
0 commit comments