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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
335 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 13:47:00 +00:00
debug it => _1;
let mut _0: std::option::Option<&T>;
bb0: {
2023-07-16 13:11:10 +00:00
_0 = <std::slice::Iter<'_, T> as Iterator>::next(move _1) -> [return: bb1, unwind unreachable];
}
bb1: {
2023-06-06 13:47:00 +00:00
return;
}
}