blob: d4427b2a8076e8a71d1ad57fca9854928115756c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
- // MIR for `foo` before Inline
+ // MIR for `foo` after Inline
fn foo() -> () {
let mut _0: ();
let mut _1: <IntFactory as Factory<T>>::Item;
scope 1 {
debug x => _1;
}
bb0: {
StorageLive(_1);
_1 = bar::<T>() -> [return: bb1, unwind continue];
}
bb1: {
_0 = const ();
drop(_1) -> [return: bb2, unwind: bb3];
}
bb2: {
StorageDead(_1);
return;
}
bb3 (cleanup): {
resume;
}
}
|