blob: fc0769d6f7dcc6aa247643af25630d283c9f7d24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// MIR for `opt2` after SimplifyCfg-initial
fn opt2(_1: &Result<u32, Void>) -> &u32 {
debug res => _1;
let mut _0: &u32;
let mut _2: isize;
let _3: &u32;
scope 1 {
debug x => _3;
}
bb0: {
PlaceMention(_1);
StorageLive(_3);
_3 = &(((*_1) as Ok).0: u32);
_0 = &(*_3);
StorageDead(_3);
return;
}
}
|