We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 98f908a + 8e01f3c commit 62bbbb9Copy full SHA for 62bbbb9
tests/pass/portable-simd-ptrs.rs
@@ -6,7 +6,7 @@ use std::simd::*;
6
7
fn main() {
8
// Pointer casts
9
- let _val: Simd<*const u8, 4> = Simd::<*const i32, 4>::splat(ptr::null()).cast_ptr();
+ let _val: Simd<*const u8, 4> = Simd::<*const i32, 4>::splat(ptr::null()).cast();
10
let addrs = Simd::<*const i32, 4>::splat(ptr::null()).expose_addr();
11
let _ptrs = Simd::<*const i32, 4>::from_exposed_addr(addrs);
12
}
0 commit comments