mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
14 lines
244 B
Rust
14 lines
244 B
Rust
// MIR for `simple_index` after built
|
|
|
|
fn simple_index(_1: [i32; 10], _2: &[i32]) -> i32 {
|
|
let mut _0: i32;
|
|
let mut _3: usize;
|
|
|
|
bb0: {
|
|
_3 = const 3_usize;
|
|
_0 = _1[_3];
|
|
_0 = (*_2)[_3];
|
|
return;
|
|
}
|
|
}
|