rust/tests/mir-opt/single_use_consts.keep_parameter.SingleUseConsts.panic-unwind.diff
2024-06-10 00:06:02 -07:00

15 lines
314 B
Diff

- // 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;
}
}