1 #![feature(box_syntax)]
3 fn move_out_from_end() {
4 let a = [box 1, box 2];
8 fn move_out_by_subslice() {
9 let a = [box 1, box 2];
14 move_out_by_subslice();
20 // START rustc.move_out_from_end.mir_map.0.mir
21 // _6 = move _1[1 of 2];
23 // END rustc.move_out_from_end.mir_map.0.mir
25 // START rustc.move_out_by_subslice.mir_map.0.mir
26 // _6 = move _1[0..2];
28 // END rustc.move_out_by_subslice.mir_map.0.mir