File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ pub fn new_from_array(x: u64) -> Arc<[u64]> {
2020// CHECK-LABEL: @new_uninit
2121#[ no_mangle]
2222pub fn new_uninit ( x : u64 ) -> Arc < [ u64 ; 1000 ] > {
23- // CHECK-NOT: call alloc::raw_rc::RcLayout::from_value_layout
23+ // CHECK-NOT: call {{<? alloc::raw_rc::RcLayout>?}} ::from_value_layout
2424 let mut arc = Arc :: new_uninit ( ) ;
2525 unsafe { Arc :: get_mut_unchecked ( & mut arc) } . write ( [ x; 1000 ] ) ;
2626 unsafe { arc. assume_init ( ) }
@@ -29,8 +29,8 @@ pub fn new_uninit(x: u64) -> Arc<[u64; 1000]> {
2929// CHECK-LABEL: @new_uninit_slice
3030#[ no_mangle]
3131pub fn new_uninit_slice ( x : u64 ) -> Arc < [ u64 ] > {
32- // CHECK: call alloc::raw_rc::RcLayout::from_value_layout
33- // CHECK-NOT: call alloc::raw_rc::RcLayout::from_value_layout
32+ // CHECK: call {{<? alloc::raw_rc::RcLayout>?}} ::from_value_layout
33+ // CHECK-NOT: call {{<? alloc::raw_rc::RcLayout>?}} ::from_value_layout
3434 let mut arc = Arc :: new_uninit_slice ( 1000 ) ;
3535 for elem in unsafe { Arc :: get_mut_unchecked ( & mut arc) } {
3636 elem. write ( x) ;
You can’t perform that action at this time.
0 commit comments