@@ -40,30 +40,28 @@ fn foo::{closure#0}::{closure#0}(_1: Pin<&mut {async closure body@$DIR/async-clo
40
40
let _3: i32;
41
41
let mut _4: &i32;
42
42
let mut _5: ();
43
- let mut _6: &mut Context<'_> ;
44
- let mut _7: u32 ;
43
+ let mut _6: u32 ;
44
+ let mut _7: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6} ;
45
45
let mut _8: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6};
46
46
let mut _9: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6};
47
- let mut _10: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6};
48
- debug _task_context => _6;
47
+ debug _task_context => _2;
49
48
debug y => (*((*(_1.0: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6})).0: &i32));
50
49
debug y => _3;
51
50
bb0: {
52
- _8 = CopyForDeref((_1.0: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6}));
53
- _7 = discriminant((*_8 ));
54
- switchInt(move _7 ) -> [0: bb1, 1: bb2, otherwise: bb3];
51
+ _7 = CopyForDeref((_1.0: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6}));
52
+ _6 = discriminant((*_7 ));
53
+ switchInt(move _6 ) -> [0: bb1, 1: bb2, otherwise: bb3];
55
54
}
56
55
bb1: {
57
- _6 = move _2;
58
56
StorageLive(_3);
59
- _9 = CopyForDeref((_1.0: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6}));
60
- _4 = CopyForDeref(((*_9 ).0: &i32));
57
+ _8 = CopyForDeref((_1.0: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6}));
58
+ _4 = CopyForDeref(((*_8 ).0: &i32));
61
59
_3 = (*_4);
62
60
_5 = ();
63
61
StorageDead(_3);
64
62
_0 = std::task::Poll::Ready(move _5);
65
- _10 = CopyForDeref((_1.0: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6}));
66
- discriminant((*_10 )) = 1;
63
+ _9 = CopyForDeref((_1.0: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6}));
64
+ discriminant((*_9 )) = 1;
67
65
return;
68
66
}
69
67
bb2: {
@@ -78,30 +76,28 @@ fn foo::{closure#0}::{synthetic#0}(_1: Pin<&mut {async closure body@$DIR/async-c
78
76
let _3: i32;
79
77
let mut _4: &i32;
80
78
let mut _5: ();
81
- let mut _6: &mut Context<'_> ;
82
- let mut _7: u32 ;
79
+ let mut _6: u32 ;
80
+ let mut _7: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6} ;
83
81
let mut _8: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6};
84
82
let mut _9: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6};
85
- let mut _10: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6};
86
- debug _task_context => _6;
83
+ debug _task_context => _2;
87
84
debug y => (*((*(_1.0: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6})).0: &i32));
88
85
debug y => _3;
89
86
bb0: {
90
- _8 = CopyForDeref((_1.0: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6}));
91
- _7 = discriminant((*_8 ));
92
- switchInt(move _7 ) -> [0: bb1, 1: bb2, otherwise: bb3];
87
+ _7 = CopyForDeref((_1.0: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6}));
88
+ _6 = discriminant((*_7 ));
89
+ switchInt(move _6 ) -> [0: bb1, 1: bb2, otherwise: bb3];
93
90
}
94
91
bb1: {
95
- _6 = move _2;
96
92
StorageLive(_3);
97
- _9 = CopyForDeref((_1.0: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6}));
98
- _4 = CopyForDeref(((*_9 ).0: &i32));
93
+ _8 = CopyForDeref((_1.0: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6}));
94
+ _4 = CopyForDeref(((*_8 ).0: &i32));
99
95
_3 = (*_4);
100
96
_5 = ();
101
97
StorageDead(_3);
102
98
_0 = std::task::Poll::Ready(move _5);
103
- _10 = CopyForDeref((_1.0: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6}));
104
- discriminant((*_10 )) = 1;
99
+ _9 = CopyForDeref((_1.0: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6}));
100
+ discriminant((*_9 )) = 1;
105
101
return;
106
102
}
107
103
bb2: {
0 commit comments