mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
15 lines
314 B
Diff
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;
|
|
}
|
|
}
|
|
|