rust/tests/mir-opt/single_use_consts.keep_parameter.SingleUseConsts.panic-abort.diff

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

15 lines
314 B
Diff
Raw Normal View History

2024-06-03 02:41:00 +00:00
- // MIR for `keep_parameter` before SingleUseConsts
+ // MIR for `keep_parameter` after SingleUseConsts
fn keep_parameter(_1: i32) -> () {
debug other => _1;
let mut _0: ();
bb0: {
_1 = const <T as MyTrait>::ASSOC_INT;
_0 = const ();
return;
}
}