1 - // MIR for `array_len` before NormalizeArrayLen
2 + // MIR for `array_len` after NormalizeArrayLen
4 fn array_len(_1: &[u8; N]) -> usize {
5 debug arr => _1; // in scope 0 at $DIR/lower_array_len.rs:30:34: 30:37
6 let mut _0: usize; // return place in scope 0 at $DIR/lower_array_len.rs:30:52: 30:57
7 let mut _2: &[u8]; // in scope 0 at $DIR/lower_array_len.rs:31:5: 31:14
8 let mut _3: &[u8; N]; // in scope 0 at $DIR/lower_array_len.rs:31:5: 31:14
9 + let mut _4: &[u8; N]; // in scope 0 at $DIR/lower_array_len.rs:31:5: 31:14
12 StorageLive(_2); // scope 0 at $DIR/lower_array_len.rs:31:5: 31:14
13 StorageLive(_3); // scope 0 at $DIR/lower_array_len.rs:31:5: 31:14
14 _3 = &(*_1); // scope 0 at $DIR/lower_array_len.rs:31:5: 31:14
15 + StorageLive(_4); // scope 0 at $DIR/lower_array_len.rs:31:5: 31:14
16 + _4 = _3; // scope 0 at $DIR/lower_array_len.rs:31:5: 31:14
17 _2 = move _3 as &[u8] (Pointer(Unsize)); // scope 0 at $DIR/lower_array_len.rs:31:5: 31:14
18 StorageDead(_3); // scope 0 at $DIR/lower_array_len.rs:31:7: 31:8
19 - _0 = Len((*_2)); // scope 0 at $DIR/lower_array_len.rs:31:5: 31:14
20 + _0 = Len((*_4)); // scope 0 at $DIR/lower_array_len.rs:31:5: 31:14
21 + StorageDead(_4); // scope 0 at $DIR/lower_array_len.rs:31:5: 31:14
22 goto -> bb1; // scope 0 at $DIR/lower_array_len.rs:31:5: 31:14
26 StorageDead(_2); // scope 0 at $DIR/lower_array_len.rs:31:13: 31:14
27 return; // scope 0 at $DIR/lower_array_len.rs:32:2: 32:2
31 resume; // scope 0 at $DIR/lower_array_len.rs:30:1: 32:2