Function try_new_slice

Source
pub fn try_new_slice<'tcx, B: Bridge>(
    layout: TyAndLayout<'tcx, Ty<'tcx>>,
    data: ConstAllocation<'tcx>,
    meta: u64,
    cx: &SmirCtxt<'tcx, B>,
) -> Result<Allocation, B::Error>