@@ -101,7 +101,7 @@ pub unsafe extern "C" fn local_muts() {
101101 let mut indexing: ::core ::ffi ::c_char =
102102 NESTED_STR [LITERAL_FLOAT as ::core ::ffi ::c_int as usize ];
103103 let mut str_concatenation_ptr: *const ::core ::ffi ::c_char =
104- b " hello hello world\0 " as * const u8 as *const ::core ::ffi ::c_char ;
104+ b " hello hello world\0 " . as_ptr () as *const ::core ::ffi ::c_char ;
105105 let mut str_concatenation: [::core ::ffi ::c_char ; 18 ] =
106106 ::core ::mem ::transmute ::< [u8 ; 18 ], [::core ::ffi ::c_char ; 18 ]> (* b " hello hello world\0 " );
107107 let mut builtin: ::core ::ffi ::c_int =
@@ -172,7 +172,7 @@ pub unsafe extern "C" fn local_consts() {
172172 let conversion_cast: ::core ::ffi ::c_double = CONVERSION_CAST ;
173173 let indexing: ::core ::ffi ::c_char = NESTED_STR [LITERAL_FLOAT as ::core ::ffi ::c_int as usize ];
174174 let str_concatenation_ptr: *const ::core ::ffi ::c_char =
175- b " hello hello world\0 " as * const u8 as *const ::core ::ffi ::c_char ;
175+ b " hello hello world\0 " . as_ptr () as *const ::core ::ffi ::c_char ;
176176 let str_concatenation: [::core ::ffi ::c_char ; 18 ] =
177177 ::core ::mem ::transmute ::< [u8 ; 18 ], [::core ::ffi ::c_char ; 18 ]> (* b " hello hello world\0 " );
178178 let builtin: ::core ::ffi ::c_int = (LITERAL_INT as ::core ::ffi ::c_uint ).leading_zeros () as i32 ;
@@ -246,7 +246,7 @@ static mut global_static_const_narrowing_cast: ::core::ffi::c_char =
246246static mut global_static_const_conversion_cast : ::core ::ffi ::c_double = CONVERSION_CAST ;
247247static mut global_static_const_indexing : ::core ::ffi ::c_char = 0 ;
248248static mut global_static_const_str_concatenation_ptr : * const ::core: :ffi ::c_char =
249- b " hello hello world\0 " as * const u8 as *const ::core ::ffi ::c_char ;
249+ b " hello hello world\0 " . as_ptr () as *const ::core ::ffi ::c_char ;
250250static mut global_static_const_str_concatenation : [::core ::ffi ::c_char ; 18 ] = unsafe {
251251 ::core ::mem ::transmute ::< [u8 ; 18 ], [::core ::ffi ::c_char ; 18 ]> (* b " hello hello world\0 " )
252252};
@@ -324,7 +324,7 @@ pub static mut global_const_conversion_cast: ::core::ffi::c_double = CONVERSION_
324324pub static mut global_const_indexing : ::core ::ffi ::c_char = 0 ;
325325#[no_mangle ]
326326pub static mut global_const_str_concatenation_ptr : * const ::core: :ffi ::c_char =
327- b " hello hello world\0 " as * const u8 as *const ::core ::ffi ::c_char ;
327+ b " hello hello world\0 " . as_ptr () as *const ::core ::ffi ::c_char ;
328328#[no_mangle ]
329329pub static mut global_const_str_concatenation : [::core ::ffi ::c_char ; 18 ] = unsafe {
330330 ::core ::mem ::transmute ::< [u8 ; 18 ], [::core ::ffi ::c_char ; 18 ]> (* b " hello hello world\0 " )
0 commit comments