Lines Matching refs:transmute_ref
342 macro_rules! transmute_ref { macro
402 t.transmute_ref()
1334 let x: &[[u8; 2]; 4] = transmute_ref!(&array_of_u8s); in test_transmute_ref()
1336 let x: &[u8; 8] = transmute_ref!(&array_of_arrays); in test_transmute_ref()
1343 const X: &'static [[u8; 2]; 4] = transmute_ref!(&ARRAY_OF_U8S); in test_transmute_ref()
1350 let x: &[[u8; 2]] = transmute_ref!(&array_of_u8s); in test_transmute_ref()
1361 const X_NKL: &Nkl<[[u8; 2]; 4]> = transmute_ref!(&ARRAY_OF_NKL_U8S); in test_transmute_ref()
1369 const fn transmute_ref<T, U>(t: &T) -> &U in test_transmute_ref() function
1374 transmute_ref!(t) in test_transmute_ref()
1381 const X_NKL: &Nkl<[[u8; 2]; 4]> = transmute_ref(&ARRAY_OF_NKL_U8S); in test_transmute_ref()
1391 let x: &SliceDst<U16, U16> = transmute_ref!(slice_dst_of_u8s); in test_transmute_ref()
1396 let x: &[u8] = transmute_ref!(slice_dst_of_u8s); in test_transmute_ref()
1399 let x: &[u8] = transmute_ref!(slice_dst_of_u16s); in test_transmute_ref()
1402 let x: &[U16] = transmute_ref!(slice_dst_of_u16s); in test_transmute_ref()
1411 let x: &SliceDst<U16, u8> = transmute_ref!(slice_dst_big); in test_transmute_ref()
1416 let x: &[u8; 8] = transmute_ref!(X); in test_transmute_ref()
1422 let x: &[u8; 8] = transmute_ref!(&u); in test_transmute_ref()
1428 let y: &u8 = transmute_ref!(&mut x); in test_transmute_ref()
1664 let _: &usize = transmute_ref!({ in test_macros_evaluate_args_once()