Skip to content

Commit c0781d8

Browse files
committed
Reintroduce into_future in .await desugaring
This is a reintroduction of the remaining parts from rust-lang/rust#65244 that have not been relanded yet. Issues GH-67644, GH-67982
1 parent 64b245c commit c0781d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/future/into_future.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ pub trait IntoFuture {
1313

1414
/// Creates a future from a value.
1515
#[unstable(feature = "into_future", issue = "67644")]
16+
#[cfg_attr(not(bootstrap), lang = "into_future")]
1617
fn into_future(self) -> Self::Future;
1718
}
1819

0 commit comments

Comments
 (0)