Skip to content

Commit c2cdb25

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

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)