File tree 1 file changed +8
-19
lines changed
1 file changed +8
-19
lines changed Original file line number Diff line number Diff line change @@ -18,35 +18,24 @@ fn main() {
18
18
19
19
fn foo < T : Copy > ( _t : T , q : i32 ) -> i32 {
20
20
let x = |_t, _q| _t;
21
- x ( q* 2 , q* 3 )
21
+ x ( q, q)
22
22
}
23
23
24
24
// END RUST SOURCE
25
25
// START rustc.foo.Inline.after.mir
26
26
// ...
27
27
// bb0: {
28
- // StorageLive(_3);
28
+ // ...
29
29
// _3 = [closure@NodeId(28)];
30
- // StorageLive(_4);
30
+ // ...
31
31
// _4 = &_3;
32
- // StorageLive(_5);
33
- // StorageLive(_6) ;
34
- // StorageLive(_7);
32
+ // ...
33
+ // _6 = _2 ;
34
+ // ...
35
35
// _7 = _2;
36
- // _6 = Mul(_7, const 2i32);
37
- // StorageDead(_7);
38
- // StorageLive(_8);
39
- // StorageLive(_9);
40
- // _9 = _2;
41
- // _8 = Mul(_9, const 3i32);
42
- // StorageDead(_9);
43
- // _5 = (_6, _8);
36
+ // _5 = (_6, _7);
44
37
// _0 = (_5.0: i32);
45
- // StorageDead(_5);
46
- // StorageDead(_8);
47
- // StorageDead(_6);
48
- // StorageDead(_4);
49
- // StorageDead(_3);
38
+ // ...
50
39
// return;
51
40
// }
52
41
// ...
You can’t perform that action at this time.
0 commit comments