Skip to content

Commit ba9e8be

Browse files
committed
Auto merge of #113437 - workingjubilee:sync-simd-2023-july-07, r=workingjubilee
Sync portable-simd to 2023 July 07 r? `@ghost`
2 parents 06c4a2c + 3b26ec5 commit ba9e8be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pass/portable-simd-ptrs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use std::simd::*;
66

77
fn main() {
88
// Pointer casts
9-
let _val: Simd<*const u8, 4> = Simd::<*const i32, 4>::splat(ptr::null()).cast_ptr();
9+
let _val: Simd<*const u8, 4> = Simd::<*const i32, 4>::splat(ptr::null()).cast();
1010
let addrs = Simd::<*const i32, 4>::splat(ptr::null()).expose_addr();
1111
let _ptrs = Simd::<*const i32, 4>::from_exposed_addr(addrs);
1212
}

0 commit comments

Comments
 (0)