rust/tests/mir-opt/copy-prop/borrowed_local.non_freeze.CopyProp.panic-abort.diff

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
461 B
Diff
Raw Normal View History

2024-04-07 11:23:16 -05:00
- // MIR for `non_freeze` before CopyProp
+ // MIR for `non_freeze` after CopyProp
fn non_freeze(_1: T) -> bool {
let mut _0: bool;
let mut _2: T;
let mut _3: &T;
bb0: {
_2 = _1;
_3 = &_1;
_0 = opaque::<&T>(_3) -> [return: bb1, unwind unreachable];
}
bb1: {
_0 = opaque::<T>(_2) -> [return: bb2, unwind unreachable];
}
bb2: {
return;
}
}