@@ -90,7 +90,7 @@ fn b::{closure#0}(_1: Pin<&mut [async fn body@$DIR/async_await.rs:14:18: 17:2]>,
90
90
91
91
bb0 : {
92
92
_39 = discriminant((*(_1.0 : &mut [async fn body@$DIR/async_await.rs:14:18: 17:2]))); // scope 0 at $DIR/async_await.rs:+0:18: +3:2
93
- switchInt(move _39) -> [0 : bb1, 1: bb29 , 3: bb27 , 4: bb28 , otherwise: bb30 ]; // scope 0 at $DIR/async_await.rs:+0:18: +3:2
93
+ switchInt(move _39) -> [0 : bb1, 1: bb28 , 3: bb26 , 4: bb27 , otherwise: bb29 ]; // scope 0 at $DIR/async_await.rs:+0:18: +3:2
94
94
}
95
95
96
96
bb1 : {
@@ -263,7 +263,7 @@ fn b::{closure#0}(_1: Pin<&mut [async fn body@$DIR/async_await.rs:14:18: 17:2]>,
263
263
StorageDead(_29); // scope 5 at $DIR/async_await.rs:+2:13 : +2:14
264
264
StorageDead(_26); // scope 5 at $DIR/async_await.rs:+2:13 : +2:14
265
265
_32 = discriminant(_25); // scope 4 at $DIR/async_await.rs:+2:8 : +2:14
266
- switchInt(move _32) -> [0 : bb22 , 1: bb20, otherwise: bb21 ]; // scope 4 at $DIR/async_await.rs:+2:8: +2:14
266
+ switchInt(move _32) -> [0 : bb21 , 1: bb20, otherwise: bb9 ]; // scope 4 at $DIR/async_await.rs:+2:8: +2:14
267
267
}
268
268
269
269
bb20 : {
@@ -281,10 +281,6 @@ fn b::{closure#0}(_1: Pin<&mut [async fn body@$DIR/async_await.rs:14:18: 17:2]>,
281
281
}
282
282
283
283
bb21 : {
284
- unreachable; // scope 4 at $DIR/async_await.rs:+2:8 : +2:14
285
- }
286
-
287
- bb22 : {
288
284
StorageLive(_33); // scope 4 at $DIR/async_await.rs:+2:5 : +2:14
289
285
_33 = ((_25 as Ready).0 : ()); // scope 4 at $DIR/async_await.rs:+2:5: +2:14
290
286
_37 = _33; // scope 6 at $DIR/async_await.rs:+2:5 : +2:14
@@ -293,34 +289,34 @@ fn b::{closure#0}(_1: Pin<&mut [async fn body@$DIR/async_await.rs:14:18: 17:2]>,
293
289
StorageDead(_28); // scope 4 at $DIR/async_await.rs:+2:13 : +2:14
294
290
StorageDead(_25); // scope 4 at $DIR/async_await.rs:+2:13 : +2:14
295
291
StorageDead(_24); // scope 4 at $DIR/async_await.rs:+2:13 : +2:14
296
- goto -> bb24 ; // scope 0 at $DIR/async_await.rs:+2:13 : +2:14
292
+ goto -> bb23 ; // scope 0 at $DIR/async_await.rs:+2:13 : +2:14
297
293
}
298
294
299
- bb23 : {
295
+ bb22 : {
300
296
StorageDead(_36); // scope 4 at $DIR/async_await.rs:+2:13 : +2:14
301
297
_38 = move _35; // scope 4 at $DIR/async_await.rs:+2:8 : +2:14
302
298
StorageDead(_35); // scope 4 at $DIR/async_await.rs:+2:13 : +2:14
303
299
_7 = const (); // scope 4 at $DIR/async_await.rs:+2:8 : +2:14
304
300
goto -> bb16; // scope 4 at $DIR/async_await.rs:+2:8 : +2:14
305
301
}
306
302
307
- bb24 : {
303
+ bb23 : {
308
304
nop; // scope 0 at $DIR/async_await.rs:+2:13 : +2:14
309
- goto -> bb25 ; // scope 0 at $DIR/async_await.rs:+3:1 : +3:2
305
+ goto -> bb24 ; // scope 0 at $DIR/async_await.rs:+3:1 : +3:2
310
306
}
311
307
312
- bb25 : {
308
+ bb24 : {
313
309
StorageDead(_21); // scope 0 at $DIR/async_await.rs:+3:1 : +3:2
314
- goto -> bb26 ; // scope 0 at $DIR/async_await.rs:+3:1 : +3:2
310
+ goto -> bb25 ; // scope 0 at $DIR/async_await.rs:+3:1 : +3:2
315
311
}
316
312
317
- bb26 : {
313
+ bb25 : {
318
314
_0 = Poll::<()>::Ready(move _37); // scope 0 at $DIR/async_await.rs:+3:2 : +3:2
319
315
discriminant((*(_1.0 : &mut [async fn body@$DIR/async_await.rs:14:18: 17:2]))) = 1; // scope 0 at $DIR/async_await.rs:+3:2: +3:2
320
316
return; // scope 0 at $DIR/async_await.rs:+3:2 : +3:2
321
317
}
322
318
323
- bb27 : {
319
+ bb26 : {
324
320
StorageLive(_3); // scope 0 at $DIR/async_await.rs:+0:18 : +3:2
325
321
StorageLive(_4); // scope 0 at $DIR/async_await.rs:+0:18 : +3:2
326
322
StorageLive(_19); // scope 0 at $DIR/async_await.rs:+0:18 : +3:2
@@ -329,19 +325,19 @@ fn b::{closure#0}(_1: Pin<&mut [async fn body@$DIR/async_await.rs:14:18: 17:2]>,
329
325
goto -> bb11; // scope 0 at $DIR/async_await.rs:+0:18 : +3:2
330
326
}
331
327
332
- bb28 : {
328
+ bb27 : {
333
329
StorageLive(_21); // scope 0 at $DIR/async_await.rs:+0:18 : +3:2
334
330
StorageLive(_35); // scope 0 at $DIR/async_await.rs:+0:18 : +3:2
335
331
StorageLive(_36); // scope 0 at $DIR/async_await.rs:+0:18 : +3:2
336
332
_35 = move _2; // scope 0 at $DIR/async_await.rs:+0:18 : +3:2
337
- goto -> bb23 ; // scope 0 at $DIR/async_await.rs:+0:18 : +3:2
333
+ goto -> bb22 ; // scope 0 at $DIR/async_await.rs:+0:18 : +3:2
338
334
}
339
335
340
- bb29 : {
341
- assert(const false, "`async fn` resumed after completion") -> bb29 ; // scope 0 at $DIR/async_await.rs:+0:18 : +3:2
336
+ bb28 : {
337
+ assert(const false, "`async fn` resumed after completion") -> bb28 ; // scope 0 at $DIR/async_await.rs:+0:18 : +3:2
342
338
}
343
339
344
- bb30 : {
340
+ bb29 : {
345
341
unreachable; // scope 0 at $DIR/async_await.rs:+0:18 : +3:2
346
342
}
347
343
}
0 commit comments