mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
18 lines
920 B
Rust
18 lines
920 B
Rust
// MIR for `slice_iter_next` after PreCodegen
|
|
|
|
fn slice_iter_next(_1: &mut std::slice::Iter<'_, T>) -> Option<&T> {
|
|
debug it => _1; // in scope 0 at $DIR/slice_iter.rs:+0:31: +0:33
|
|
let mut _0: std::option::Option<&T>; // return place in scope 0 at $DIR/slice_iter.rs:+0:68: +0:81
|
|
|
|
bb0: {
|
|
_0 = <std::slice::Iter<'_, T> as Iterator>::next(_1) -> bb1; // scope 0 at $DIR/slice_iter.rs:+1:5: +1:14
|
|
// mir::Constant
|
|
// + span: $DIR/slice_iter.rs:18:8: 18:12
|
|
// + literal: Const { ty: for<'a> fn(&'a mut std::slice::Iter<'_, T>) -> Option<<std::slice::Iter<'_, T> as Iterator>::Item> {<std::slice::Iter<'_, T> as Iterator>::next}, val: Value(<ZST>) }
|
|
}
|
|
|
|
bb1: {
|
|
return; // scope 0 at $DIR/slice_iter.rs:+2:2: +2:2
|
|
}
|
|
}
|