@@ -98,14 +98,14 @@ fn b::{closure#0}(_1: Pin<&mut [async fn body@$DIR/async_await.rs:14:18: 17:2]>,
9898 StorageLive(_3); // scope 0 at $DIR/async_await.rs:+1:5 : +1:14
9999 StorageLive(_4); // scope 0 at $DIR/async_await.rs:+1:8 : +1:14
100100 StorageLive(_5); // scope 0 at $DIR/async_await.rs:+1:5 : +1:8
101- _5 = a() -> bb2; // scope 0 at $DIR/async_await.rs:+1:5 : +1:8
101+ _5 = a() -> [return : bb2, unwind unreachable]; // scope 0 at $DIR/async_await.rs:+1:5: +1:8
102102 // mir::Constant
103103 // + span : $DIR/async_await.rs:15:5: 15:6
104104 // + literal : Const { ty: fn() -> impl Future<Output = ()> {a}, val: Value(<ZST>) }
105105 }
106106
107107 bb2 : {
108- _4 = <impl Future<Output = ()> as IntoFuture>::into_future(move _5) -> bb3; // scope 0 at $DIR/async_await.rs:+1:8 : +1:14
108+ _4 = <impl Future<Output = ()> as IntoFuture>::into_future(move _5) -> [return : bb3, unwind unreachable] ; // scope 0 at $DIR/async_await.rs:+1:8: +1:14
109109 // mir::Constant
110110 // + span : $DIR/async_await.rs:15:8: 15:14
111111 // + literal : Const { ty: fn(impl Future<Output = ()>) -> <impl Future<Output = ()> as IntoFuture>::IntoFuture {<impl Future<Output = ()> as IntoFuture>::into_future}, val: Value(<ZST>) }
@@ -126,7 +126,7 @@ fn b::{closure#0}(_1: Pin<&mut [async fn body@$DIR/async_await.rs:14:18: 17:2]>,
126126 StorageLive(_12); // scope 2 at $DIR/async_await.rs:+1:8 : +1:14
127127 _12 = &mut (((*(_1.0 : &mut [async fn body@$DIR/async_await.rs:14:18: 17:2])) as variant#3).0: impl std::future::Future<Output = ()>); // scope 2 at $DIR/async_await.rs:+1:8: +1:14
128128 _11 = &mut (*_12); // scope 2 at $DIR/async_await.rs:+1:8 : +1:14
129- _10 = Pin::<&mut impl Future<Output = ()>>::new_unchecked(move _11) -> bb5; // scope 2 at $DIR/async_await.rs:+1:8 : +1:14
129+ _10 = Pin::<&mut impl Future<Output = ()>>::new_unchecked(move _11) -> [return : bb5, unwind unreachable] ; // scope 2 at $DIR/async_await.rs:+1:8: +1:14
130130 // mir::Constant
131131 // + span : $DIR/async_await.rs:15:8: 15:14
132132 // + literal : Const { ty: unsafe fn(&mut impl Future<Output = ()>) -> Pin<&mut impl Future<Output = ()>> {Pin::<&mut impl Future<Output = ()>>::new_unchecked}, val: Value(<ZST>) }
@@ -145,7 +145,7 @@ fn b::{closure#0}(_1: Pin<&mut [async fn body@$DIR/async_await.rs:14:18: 17:2]>,
145145 bb6 : {
146146 _13 = &mut (*_14); // scope 2 at $DIR/async_await.rs:+1:5 : +1:14
147147 StorageDead(_15); // scope 2 at $DIR/async_await.rs:+1:13 : +1:14
148- _9 = <impl Future<Output = ()> as Future>::poll(move _10, move _13) -> bb7; // scope 2 at $DIR/async_await.rs:+1:8 : +1:14
148+ _9 = <impl Future<Output = ()> as Future>::poll(move _10, move _13) -> [return : bb7, unwind unreachable] ; // scope 2 at $DIR/async_await.rs:+1:8: +1:14
149149 // mir::Constant
150150 // + span : $DIR/async_await.rs:15:8: 15:14
151151 // + literal : Const { ty: for<'a, 'b, 'c> fn(Pin<&'a mut impl Future<Output = ()>>, &'b mut Context<'c>) -> Poll<<impl Future<Output = ()> as Future>::Output> {<impl Future<Output = ()> as Future>::poll}, val: Value(<ZST>) }
@@ -206,14 +206,14 @@ fn b::{closure#0}(_1: Pin<&mut [async fn body@$DIR/async_await.rs:14:18: 17:2]>,
206206 StorageDead(_3); // scope 0 at $DIR/async_await.rs:+1:14 : +1:15
207207 StorageLive(_21); // scope 0 at $DIR/async_await.rs:+2:8 : +2:14
208208 StorageLive(_22); // scope 0 at $DIR/async_await.rs:+2:5 : +2:8
209- _22 = a() -> bb14; // scope 0 at $DIR/async_await.rs:+2:5 : +2:8
209+ _22 = a() -> [return : bb14, unwind unreachable]; // scope 0 at $DIR/async_await.rs:+2:5: +2:8
210210 // mir::Constant
211211 // + span : $DIR/async_await.rs:16:5: 16:6
212212 // + literal : Const { ty: fn() -> impl Future<Output = ()> {a}, val: Value(<ZST>) }
213213 }
214214
215215 bb14 : {
216- _21 = <impl Future<Output = ()> as IntoFuture>::into_future(move _22) -> bb15; // scope 0 at $DIR/async_await.rs:+2:8 : +2:14
216+ _21 = <impl Future<Output = ()> as IntoFuture>::into_future(move _22) -> [return : bb15, unwind unreachable] ; // scope 0 at $DIR/async_await.rs:+2:8: +2:14
217217 // mir::Constant
218218 // + span : $DIR/async_await.rs:16:8: 16:14
219219 // + literal : Const { ty: fn(impl Future<Output = ()>) -> <impl Future<Output = ()> as IntoFuture>::IntoFuture {<impl Future<Output = ()> as IntoFuture>::into_future}, val: Value(<ZST>) }
@@ -234,7 +234,7 @@ fn b::{closure#0}(_1: Pin<&mut [async fn body@$DIR/async_await.rs:14:18: 17:2]>,
234234 StorageLive(_28); // scope 5 at $DIR/async_await.rs:+2:8 : +2:14
235235 _28 = &mut (((*(_1.0 : &mut [async fn body@$DIR/async_await.rs:14:18: 17:2])) as variant#4).0: impl std::future::Future<Output = ()>); // scope 5 at $DIR/async_await.rs:+2:8: +2:14
236236 _27 = &mut (*_28); // scope 5 at $DIR/async_await.rs:+2:8 : +2:14
237- _26 = Pin::<&mut impl Future<Output = ()>>::new_unchecked(move _27) -> bb17; // scope 5 at $DIR/async_await.rs:+2:8 : +2:14
237+ _26 = Pin::<&mut impl Future<Output = ()>>::new_unchecked(move _27) -> [return : bb17, unwind unreachable] ; // scope 5 at $DIR/async_await.rs:+2:8: +2:14
238238 // mir::Constant
239239 // + span : $DIR/async_await.rs:16:8: 16:14
240240 // + literal : Const { ty: unsafe fn(&mut impl Future<Output = ()>) -> Pin<&mut impl Future<Output = ()>> {Pin::<&mut impl Future<Output = ()>>::new_unchecked}, val: Value(<ZST>) }
@@ -253,7 +253,7 @@ fn b::{closure#0}(_1: Pin<&mut [async fn body@$DIR/async_await.rs:14:18: 17:2]>,
253253 bb18 : {
254254 _29 = &mut (*_30); // scope 5 at $DIR/async_await.rs:+2:5 : +2:14
255255 StorageDead(_31); // scope 5 at $DIR/async_await.rs:+2:13 : +2:14
256- _25 = <impl Future<Output = ()> as Future>::poll(move _26, move _29) -> bb19; // scope 5 at $DIR/async_await.rs:+2:8 : +2:14
256+ _25 = <impl Future<Output = ()> as Future>::poll(move _26, move _29) -> [return : bb19, unwind unreachable] ; // scope 5 at $DIR/async_await.rs:+2:8: +2:14
257257 // mir::Constant
258258 // + span : $DIR/async_await.rs:16:8: 16:14
259259 // + literal : Const { ty: for<'a, 'b, 'c> fn(Pin<&'a mut impl Future<Output = ()>>, &'b mut Context<'c>) -> Poll<<impl Future<Output = ()> as Future>::Output> {<impl Future<Output = ()> as Future>::poll}, val: Value(<ZST>) }
0 commit comments