2023-01-15 09:30:09 -06:00
|
|
|
// MIR for `f` after CopyProp
|
|
|
|
|
|
|
|
fn f(_1: usize) -> usize {
|
2023-06-06 08:47:00 -05:00
|
|
|
debug a => _1;
|
|
|
|
let mut _0: usize;
|
|
|
|
let _2: usize;
|
|
|
|
let mut _3: usize;
|
|
|
|
let mut _4: usize;
|
2023-01-15 09:30:09 -06:00
|
|
|
scope 1 {
|
2023-06-06 08:47:00 -05:00
|
|
|
debug b => _2;
|
2023-01-15 09:30:09 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
bb0: {
|
2023-06-06 08:47:00 -05:00
|
|
|
_2 = _1;
|
|
|
|
_1 = const 5_usize;
|
|
|
|
_1 = _2;
|
|
|
|
StorageLive(_4);
|
|
|
|
_4 = _1;
|
|
|
|
_0 = id::<usize>(move _4) -> bb1;
|
2023-01-15 09:30:09 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
bb1: {
|
2023-06-06 08:47:00 -05:00
|
|
|
StorageDead(_4);
|
|
|
|
return;
|
2023-01-15 09:30:09 -06:00
|
|
|
}
|
|
|
|
}
|