mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
12 lines
499 B
Rust
12 lines
499 B
Rust
// MIR for `array_len` after PreCodegen
|
|
|
|
fn array_len(_1: &[u8; N]) -> usize {
|
|
debug arr => _1; // in scope 0 at $DIR/lower_array_len_e2e.rs:+0:34: +0:37
|
|
let mut _0: usize; // return place in scope 0 at $DIR/lower_array_len_e2e.rs:+0:52: +0:57
|
|
|
|
bb0: {
|
|
_0 = const N; // scope 0 at $DIR/lower_array_len_e2e.rs:+1:5: +1:14
|
|
return; // scope 0 at $DIR/lower_array_len_e2e.rs:+2:2: +2:2
|
|
}
|
|
}
|