File tree 1 file changed +2
-2
lines changed
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
8
8
| help: use parentheses to call this function: `std::mem::transmute(...)`
9
9
|
10
10
= 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::<_, _>}`
12
12
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
14
14
--> $DIR/reify-intrinsic.rs:11:13
15
15
|
16
16
LL | let _ = std::mem::transmute as unsafe extern "rust-intrinsic" fn(isize) -> usize;
You can’t perform that action at this time.
0 commit comments