2021-06-16 05:46:56 +00:00
|
|
|
- // MIR for `invalid` before EnumSizeOpt
|
|
|
|
+ // MIR for `invalid` after EnumSizeOpt
|
|
|
|
|
2023-02-05 22:14:40 +00:00
|
|
|
fn invalid() -> InvalidIdxs {
|
2023-06-06 13:47:00 +00:00
|
|
|
let mut _0: InvalidIdxs;
|
|
|
|
let mut _1: InvalidIdxs;
|
|
|
|
let mut _2: InvalidIdxs;
|
|
|
|
let mut _3: [u64; 1024];
|
2021-06-16 05:46:56 +00:00
|
|
|
scope 1 {
|
2023-06-06 13:47:00 +00:00
|
|
|
debug a => _1;
|
2021-06-16 05:46:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bb0: {
|
2023-06-06 13:47:00 +00: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 05:46:56 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|