rust/tests/mir-opt/pre-codegen/slice_iter.slice_iter_next.PreCodegen.after.panic-unwind.mir

15 lines
332 B
Rust
Raw Normal View History

// MIR for `slice_iter_next` after PreCodegen
fn slice_iter_next(_1: &mut std::slice::Iter<'_, T>) -> Option<&T> {
2023-06-06 08:47:00 -05:00
debug it => _1;
let mut _0: std::option::Option<&T>;
bb0: {
2023-07-16 08:11:10 -05:00
_0 = <std::slice::Iter<'_, T> as Iterator>::next(move _1) -> [return: bb1, unwind continue];
}
bb1: {
2023-06-06 08:47:00 -05:00
return;
}
}