_2 = const 0_usize; // scope 0 at $DIR/issue-72181.rs:16:43: 16:44
_3 = Len(_1); // scope 0 at $DIR/issue-72181.rs:16:40: 16:45
_4 = Lt(_2, _3); // scope 0 at $DIR/issue-72181.rs:16:40: 16:45
- assert(move _4, "index out of bounds: the length is {} but the index is {}", move _3, _2) -> [success: bb2, unwind: bb1]; // scope 0 at $DIR/issue-72181.rs:16:40: 16:45
+ assert(move _4, "index out of bounds: the length is {} but the index is {}", move _3, _2) -> [success: bb1, unwind: bb2]; // scope 0 at $DIR/issue-72181.rs:16:40: 16:45
}
- bb1 (cleanup): {
- resume; // scope 0 at $DIR/issue-72181.rs:16:1: 16:49
- }
-
- bb2: {
+ bb1: {
_0 = (_1[_2].1: u32); // scope 0 at $DIR/issue-72181.rs:16:40: 16:47
StorageDead(_2); // scope 0 at $DIR/issue-72181.rs:16:48: 16:49
- goto -> bb3; // scope 0 at $DIR/issue-72181.rs:16:49: 16:49
+ return; // scope 0 at $DIR/issue-72181.rs:16:49: 16:49
}
- bb3: {
- return; // scope 0 at $DIR/issue-72181.rs:16:49: 16:49
+ bb2 (cleanup): {
+ resume; // scope 0 at $DIR/issue-72181.rs:16:1: 16:49
}
}