2021-06-16 00:46:56 -05:00
|
|
|
- // MIR for `invalid` before EnumSizeOpt
|
|
|
|
+ // MIR for `invalid` after EnumSizeOpt
|
|
|
|
|
2023-02-05 16:14:40 -06:00
|
|
|
fn invalid() -> InvalidIdxs {
|
2023-06-06 08:47:00 -05:00
|
|
|
let mut _0: InvalidIdxs;
|
|
|
|
let mut _1: InvalidIdxs;
|
|
|
|
let mut _2: InvalidIdxs;
|
|
|
|
let mut _3: [u64; 1024];
|
2021-06-16 00:46:56 -05:00
|
|
|
scope 1 {
|
2023-06-06 08:47:00 -05:00
|
|
|
debug a => _1;
|
2021-06-16 00:46:56 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
bb0: {
|
2023-06-06 08:47:00 -05:00
|
|
|
StorageLive(_1);
|
|
|
|
_1 = InvalidIdxs::A;
|
|
|
|
StorageLive(_2);
|
|
|
|
StorageLive(_3);
|
|
|
|
_3 = [const 0_u64; 1024];
|
|
|
|
_2 = InvalidIdxs::Large(move _3);
|
|
|
|
StorageDead(_3);
|
|
|
|
_1 = move _2;
|
|
|
|
StorageDead(_2);
|
|
|
|
_0 = move _1;
|
|
|
|
StorageDead(_1);
|
|
|
|
return;
|
2021-06-16 00:46:56 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|