Skip to content

async/await#51580

Merged
bors merged 19 commits intorust-lang:masterfrom
cramertj:async-await
Jun 23, 2018
Merged

async/await#51580
bors merged 19 commits intorust-lang:masterfrom
cramertj:async-await

Conversation

@cramertj
Copy link
Member

This PR implements async/await syntax for async fn in Rust 2015 and async closures and async blocks in Rust 2018 (tracking issue: #50547). Limitations: non-move async closures with arguments are currently not supported, nor are async fn with multiple different input lifetimes. These limitations are not fundamental and will be removed in the future, however I'd like to go ahead and get this PR merged so we can start experimenting with this in combination with futures 0.3.

Based on #51414.
cc @petrochenkov for parsing changes.
r? @eddyb

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.