File tree Expand file tree Collapse file tree 1 file changed +8
-19
lines changed Expand file tree Collapse file tree 1 file changed +8
-19
lines changed Original file line number Diff line number Diff line change @@ -18,35 +18,24 @@ fn main() {
1818
1919fn foo < T : Copy > ( _t : T , q : i32 ) -> i32 {
2020 let x = |_t, _q| _t;
21- x ( q* 2 , q* 3 )
21+ x ( q, q)
2222}
2323
2424// END RUST SOURCE
2525// START rustc.foo.Inline.after.mir
2626// ...
2727// bb0: {
28- // StorageLive(_3);
28+ // ...
2929// _3 = [closure@NodeId(28)];
30- // StorageLive(_4);
30+ // ...
3131// _4 = &_3;
32- // StorageLive(_5);
33- // StorageLive(_6) ;
34- // StorageLive(_7);
32+ // ...
33+ // _6 = _2 ;
34+ // ...
3535// _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);
4437// _0 = (_5.0: i32);
45- // StorageDead(_5);
46- // StorageDead(_8);
47- // StorageDead(_6);
48- // StorageDead(_4);
49- // StorageDead(_3);
38+ // ...
5039// return;
5140// }
5241// ...
You can’t perform that action at this time.
0 commit comments