blob: 4d70e7151c3934514db061271a51e4abdfa2251c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
- // MIR for `slice_in_place` before RemoveUnneededDrops
+ // MIR for `slice_in_place` after RemoveUnneededDrops
fn slice_in_place(_1: *mut [char]) -> () {
debug ptr => _1;
let mut _0: ();
let mut _2: *mut [char];
bb0: {
StorageLive(_2);
_2 = copy _1;
- _0 = drop_in_place::<[char]>(move _2) -> [return: bb1, unwind continue];
- }
-
- bb1: {
StorageDead(_2);
return;
}
}
|