51
51
},
52
52
} */
53
53
54
- fn b::{closure#0}(_1: Pin<&mut {async fn body@$DIR/async_await.rs:15:18: 18:2 }>, _2: &mut Context<'_>) -> Poll<()> {
54
+ fn b::{closure#0}(_1: Pin<&mut {async fn body of b() }>, _2: &mut Context<'_>) -> Poll<()> {
55
55
debug _task_context => _38;
56
56
let mut _0 : std::task::Poll<()>;
57
57
let _3 : ();
58
- let mut _4 : {async fn body@$DIR/async_await.rs:12:14: 12:16 };
59
- let mut _5 : {async fn body@$DIR/async_await.rs:12:14: 12:16 };
60
- let mut _6 : {async fn body@$DIR/async_await.rs:12:14: 12:16 };
58
+ let mut _4 : {async fn body of a() };
59
+ let mut _5 : {async fn body of a() };
60
+ let mut _6 : {async fn body of a() };
61
61
let mut _7 : ();
62
62
let _8 : ();
63
63
let mut _9 : std::task::Poll<()>;
64
- let mut _10 : std::pin::Pin<&mut {async fn body@$DIR/async_await.rs:12:14: 12:16 }>;
65
- let mut _11 : &mut {async fn body@$DIR/async_await.rs:12:14: 12:16 };
66
- let mut _12 : &mut {async fn body@$DIR/async_await.rs:12:14: 12:16 };
64
+ let mut _10 : std::pin::Pin<&mut {async fn body of a() }>;
65
+ let mut _11 : &mut {async fn body of a() };
66
+ let mut _12 : &mut {async fn body of a() };
67
67
let mut _13 : &mut std::task::Context<'_>;
68
68
let mut _14 : &mut std::task::Context<'_>;
69
69
let mut _15 : &mut std::task::Context<'_>;
70
70
let mut _16 : isize;
71
71
let mut _18 : !;
72
72
let mut _19 : &mut std::task::Context<'_>;
73
73
let mut _20 : ();
74
- let mut _21 : {async fn body@$DIR/async_await.rs:12:14: 12:16 };
75
- let mut _22 : {async fn body@$DIR/async_await.rs:12:14: 12:16 };
76
- let mut _23 : {async fn body@$DIR/async_await.rs:12:14: 12:16 };
74
+ let mut _21 : {async fn body of a() };
75
+ let mut _22 : {async fn body of a() };
76
+ let mut _23 : {async fn body of a() };
77
77
let _24 : ();
78
78
let mut _25 : std::task::Poll<()>;
79
- let mut _26 : std::pin::Pin<&mut {async fn body@$DIR/async_await.rs:12:14: 12:16 }>;
80
- let mut _27 : &mut {async fn body@$DIR/async_await.rs:12:14: 12:16 };
81
- let mut _28 : &mut {async fn body@$DIR/async_await.rs:12:14: 12:16 };
79
+ let mut _26 : std::pin::Pin<&mut {async fn body of a() }>;
80
+ let mut _27 : &mut {async fn body of a() };
81
+ let mut _28 : &mut {async fn body of a() };
82
82
let mut _29 : &mut std::task::Context<'_>;
83
83
let mut _30 : &mut std::task::Context<'_>;
84
84
let mut _31 : &mut std::task::Context<'_>;
@@ -90,7 +90,7 @@ fn b::{closure#0}(_1: Pin<&mut {async fn body@$DIR/async_await.rs:15:18: 18:2}>,
90
90
let mut _38 : &mut std::task::Context<'_>;
91
91
let mut _39 : u32;
92
92
scope 1 {
93
- debug __awaitee => (((*(_1.0 : &mut {async fn body@$DIR/async_await.rs:15:18: 18:2 })) as variant#3).0: {async fn body@$DIR/async_await.rs:12:14: 12:16 });
93
+ debug __awaitee => (((*(_1.0 : &mut {async fn body of b() })) as variant#3).0: {async fn body of a() });
94
94
let _17 : ();
95
95
scope 2 {
96
96
}
@@ -99,7 +99,7 @@ fn b::{closure#0}(_1: Pin<&mut {async fn body@$DIR/async_await.rs:15:18: 18:2}>,
99
99
}
100
100
}
101
101
scope 4 {
102
- debug __awaitee => (((*(_1.0 : &mut {async fn body@$DIR/async_await.rs:15:18: 18:2 })) as variant#4).0: {async fn body@$DIR/async_await.rs:12:14: 12:16 });
102
+ debug __awaitee => (((*(_1.0 : &mut {async fn body of b() })) as variant#4).0: {async fn body of a() });
103
103
let _33 : ();
104
104
scope 5 {
105
105
}
@@ -109,7 +109,7 @@ fn b::{closure#0}(_1: Pin<&mut {async fn body@$DIR/async_await.rs:15:18: 18:2}>,
109
109
}
110
110
111
111
bb0 : {
112
- _39 = discriminant((*(_1.0 : &mut {async fn body@$DIR/async_await.rs:15:18: 18:2 })));
112
+ _39 = discriminant((*(_1.0 : &mut {async fn body of b() })));
113
113
switchInt(move _39) -> [0 : bb1, 1: bb29, 3: bb27, 4: bb28, otherwise: bb8];
114
114
}
115
115
@@ -122,14 +122,14 @@ fn b::{closure#0}(_1: Pin<&mut {async fn body@$DIR/async_await.rs:15:18: 18:2}>,
122
122
}
123
123
124
124
bb2 : {
125
- _4 = <{async fn body@$DIR/async_await.rs:12:14 : 12:16 } as IntoFuture>::into_future(move _5) -> [return: bb3, unwind unreachable];
125
+ _4 = <{async fn body of a() } as IntoFuture>::into_future(move _5) -> [return : bb3, unwind unreachable];
126
126
}
127
127
128
128
bb3 : {
129
129
StorageDead(_5);
130
130
PlaceMention(_4);
131
131
nop;
132
- (((*(_1.0 : &mut {async fn body@$DIR/async_await.rs:15:18: 18:2 })) as variant#3).0: {async fn body@$DIR/async_await.rs:12:14: 12:16 }) = move _4;
132
+ (((*(_1.0 : &mut {async fn body of b() })) as variant#3).0: {async fn body of a() }) = move _4;
133
133
goto -> bb4;
134
134
}
135
135
@@ -139,9 +139,9 @@ fn b::{closure#0}(_1: Pin<&mut {async fn body@$DIR/async_await.rs:15:18: 18:2}>,
139
139
StorageLive(_10);
140
140
StorageLive(_11);
141
141
StorageLive(_12);
142
- _12 = &mut (((*(_1.0 : &mut {async fn body@$DIR/async_await.rs:15:18: 18:2 })) as variant#3).0: {async fn body@$DIR/async_await.rs:12:14: 12:16 });
142
+ _12 = &mut (((*(_1.0 : &mut {async fn body of b() })) as variant#3).0: {async fn body of a() });
143
143
_11 = &mut (*_12);
144
- _10 = Pin::<&mut {async fn body@$DIR/async_await.rs:12:14 : 12:16 }>::new_unchecked(move _11) -> [return: bb5, unwind unreachable];
144
+ _10 = Pin::<&mut {async fn body of a() }>::new_unchecked(move _11) -> [return : bb5, unwind unreachable];
145
145
}
146
146
147
147
bb5 : {
@@ -157,7 +157,7 @@ fn b::{closure#0}(_1: Pin<&mut {async fn body@$DIR/async_await.rs:15:18: 18:2}>,
157
157
bb6 : {
158
158
_13 = &mut (*_14);
159
159
StorageDead(_15);
160
- _9 = <{async fn body@$DIR/async_await.rs:12:14 : 12:16 } as Future>::poll(move _10, move _13) -> [return: bb7, unwind unreachable];
160
+ _9 = <{async fn body of a() } as Future>::poll(move _10, move _13) -> [return : bb7, unwind unreachable];
161
161
}
162
162
163
163
bb7 : {
@@ -186,7 +186,7 @@ fn b::{closure#0}(_1: Pin<&mut {async fn body@$DIR/async_await.rs:15:18: 18:2}>,
186
186
StorageDead(_4);
187
187
StorageDead(_19);
188
188
StorageDead(_20);
189
- discriminant((*(_1.0 : &mut {async fn body@$DIR/async_await.rs:15:18: 18:2 }))) = 3;
189
+ discriminant((*(_1.0 : &mut {async fn body of b() }))) = 3;
190
190
return;
191
191
}
192
192
@@ -199,7 +199,7 @@ fn b::{closure#0}(_1: Pin<&mut {async fn body@$DIR/async_await.rs:15:18: 18:2}>,
199
199
StorageDead(_12);
200
200
StorageDead(_9);
201
201
StorageDead(_8);
202
- drop((((*(_1.0 : &mut {async fn body@$DIR/async_await.rs:15:18: 18:2 })) as variant#3).0: {async fn body@$DIR/async_await.rs:12:14: 12:16 })) -> [return: bb12, unwind unreachable];
202
+ drop((((*(_1.0 : &mut {async fn body of b() })) as variant#3).0: {async fn body of a() })) -> [return: bb12, unwind unreachable];
203
203
}
204
204
205
205
bb11 : {
@@ -224,14 +224,14 @@ fn b::{closure#0}(_1: Pin<&mut {async fn body@$DIR/async_await.rs:15:18: 18:2}>,
224
224
}
225
225
226
226
bb14 : {
227
- _21 = <{async fn body@$DIR/async_await.rs:12:14 : 12:16 } as IntoFuture>::into_future(move _22) -> [return: bb15, unwind unreachable];
227
+ _21 = <{async fn body of a() } as IntoFuture>::into_future(move _22) -> [return : bb15, unwind unreachable];
228
228
}
229
229
230
230
bb15 : {
231
231
StorageDead(_22);
232
232
PlaceMention(_21);
233
233
nop;
234
- (((*(_1.0 : &mut {async fn body@$DIR/async_await.rs:15:18: 18:2 })) as variant#4).0: {async fn body@$DIR/async_await.rs:12:14: 12:16 }) = move _21;
234
+ (((*(_1.0 : &mut {async fn body of b() })) as variant#4).0: {async fn body of a() }) = move _21;
235
235
goto -> bb16;
236
236
}
237
237
@@ -241,9 +241,9 @@ fn b::{closure#0}(_1: Pin<&mut {async fn body@$DIR/async_await.rs:15:18: 18:2}>,
241
241
StorageLive(_26);
242
242
StorageLive(_27);
243
243
StorageLive(_28);
244
- _28 = &mut (((*(_1.0 : &mut {async fn body@$DIR/async_await.rs:15:18: 18:2 })) as variant#4).0: {async fn body@$DIR/async_await.rs:12:14: 12:16 });
244
+ _28 = &mut (((*(_1.0 : &mut {async fn body of b() })) as variant#4).0: {async fn body of a() });
245
245
_27 = &mut (*_28);
246
- _26 = Pin::<&mut {async fn body@$DIR/async_await.rs:12:14 : 12:16 }>::new_unchecked(move _27) -> [return: bb17, unwind unreachable];
246
+ _26 = Pin::<&mut {async fn body of a() }>::new_unchecked(move _27) -> [return : bb17, unwind unreachable];
247
247
}
248
248
249
249
bb17 : {
@@ -259,7 +259,7 @@ fn b::{closure#0}(_1: Pin<&mut {async fn body@$DIR/async_await.rs:15:18: 18:2}>,
259
259
bb18 : {
260
260
_29 = &mut (*_30);
261
261
StorageDead(_31);
262
- _25 = <{async fn body@$DIR/async_await.rs:12:14 : 12:16 } as Future>::poll(move _26, move _29) -> [return: bb19, unwind unreachable];
262
+ _25 = <{async fn body of a() } as Future>::poll(move _26, move _29) -> [return : bb19, unwind unreachable];
263
263
}
264
264
265
265
bb19 : {
@@ -283,7 +283,7 @@ fn b::{closure#0}(_1: Pin<&mut {async fn body@$DIR/async_await.rs:15:18: 18:2}>,
283
283
StorageDead(_21);
284
284
StorageDead(_35);
285
285
StorageDead(_36);
286
- discriminant((*(_1.0 : &mut {async fn body@$DIR/async_await.rs:15:18: 18:2 }))) = 4;
286
+ discriminant((*(_1.0 : &mut {async fn body of b() }))) = 4;
287
287
return;
288
288
}
289
289
@@ -296,7 +296,7 @@ fn b::{closure#0}(_1: Pin<&mut {async fn body@$DIR/async_await.rs:15:18: 18:2}>,
296
296
StorageDead(_28);
297
297
StorageDead(_25);
298
298
StorageDead(_24);
299
- drop((((*(_1.0 : &mut {async fn body@$DIR/async_await.rs:15:18: 18:2 })) as variant#4).0: {async fn body@$DIR/async_await.rs:12:14: 12:16 })) -> [return: bb23, unwind unreachable];
299
+ drop((((*(_1.0 : &mut {async fn body of b() })) as variant#4).0: {async fn body of a() })) -> [return: bb23, unwind unreachable];
300
300
}
301
301
302
302
bb22 : {
@@ -319,7 +319,7 @@ fn b::{closure#0}(_1: Pin<&mut {async fn body@$DIR/async_await.rs:15:18: 18:2}>,
319
319
320
320
bb25 : {
321
321
_0 = Poll::<()>::Ready(move _37);
322
- discriminant((*(_1.0 : &mut {async fn body@$DIR/async_await.rs:15:18: 18:2 }))) = 1;
322
+ discriminant((*(_1.0 : &mut {async fn body of b() }))) = 1;
323
323
return;
324
324
}
325
325
0 commit comments