rust/tests/mir-opt/pre-codegen/slice_iter.slice_iter_next.PreCodegen.after.panic-abort.mir
2023-07-19 09:59:12 +00:00

15 lines
335 B
Rust

// MIR for `slice_iter_next` after PreCodegen
fn slice_iter_next(_1: &mut std::slice::Iter<'_, T>) -> Option<&T> {
debug it => _1;
let mut _0: std::option::Option<&T>;
bb0: {
_0 = <std::slice::Iter<'_, T> as Iterator>::next(move _1) -> [return: bb1, unwind unreachable];
}
bb1: {
return;
}
}