// MIR for `slice_ptr_get_unchecked_range` after PreCodegen fn slice_ptr_get_unchecked_range(_1: *const [u32], _2: std::ops::Range) -> *const [u32] { debug slice => _1; debug index => _2; let mut _0: *const [u32]; let mut _3: usize; let mut _4: usize; scope 1 (inlined std::ptr::const_ptr::::get_unchecked::>) { scope 2 (inlined as SliceIndex<[u32]>>::get_unchecked) { let mut _5: usize; let _6: (); let _7: usize; scope 3 { scope 6 (inlined core::slice::index::get_offset_len_noubcheck::) { let _9: *const u32; scope 7 { } scope 8 (inlined core::slice::index::get_noubcheck::) { let _8: *const u32; scope 9 { } } } } scope 4 (inlined std::ptr::const_ptr::::len) { scope 5 (inlined std::ptr::metadata::<[u32]>) { } } } } bb0: { _3 = move (_2.0: usize); _4 = move (_2.1: usize); StorageLive(_7); StorageLive(_5); _5 = PtrMetadata(copy _1); _6 = as SliceIndex<[T]>>::get_unchecked::precondition_check(copy _3, copy _4, move _5) -> [return: bb1, unwind unreachable]; } bb1: { StorageDead(_5); _7 = SubUnchecked(copy _4, copy _3); StorageLive(_9); StorageLive(_8); _8 = copy _1 as *const u32 (PtrToPtr); _9 = Offset(copy _8, copy _3); StorageDead(_8); _0 = *const [u32] from (copy _9, copy _7); StorageDead(_9); StorageDead(_7); return; } }