-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-async-awaitArea: Async & AwaitArea: Async & AwaitA-coroutinesArea: CoroutinesArea: CoroutinesAsyncAwait-TriagedAsync-await issues that have been triaged during a working group meeting.Async-await issues that have been triaged during a working group meeting.B-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.Blocker: Approved by a merged RFC but not yet implemented.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-langRelevant to the language teamRelevant to the language team
Description
This is the tracking issue for RFC 2394 (rust-lang/rfcs#2394), which adds async and await syntax to the language.
I will be spearheading the implementation work of this RFC, but would appreciate mentorship as I have relatively little experience working in rustc.
TODO:
- Implement
- Stabilize Stabilize
async_await
in Rust 1.39.0 #63209 - Document
Unresolved questions:
- Final syntax for
await
. - Resolution of RFC: add futures and task system to libcore rfcs#2418
- Prevent await from creating a generator #51719
- async/await assertion failed: unbounded recursion #53249
- Missing detection of Send for async fn #53259
- async/await: “the requirement
for<'r> 'r : 'static
is not satisfied” with'static
across await point #53548 (initially “expected bound lifetime parameter, found concrete lifetime” with'static
across await point futures-rs#1199) - ICE with --pretty=expanded and async/await #53447
- Double-check
Try
implementations to which we want to commit
luthfianto, yehia2amer, zengsai, EFanZh, SillyFreak and 297 moreH2CO3 and haitlahcennullmastermind, hirrolot, imclint21, LooMaclin, hexrcs and 7 morecrlf0710, kvinwang, CYBAI, alexreg, matt961 and 151 moreluthfianto, EFanZh, Terkwood, memoryruins, ebkalderon and 129 morenullmastermind, hirrolot, krinoid, raintean, imclint21 and 27 moremark-i-m, bricss, alexgtn, hirrolot, shekohex and 29 more
Metadata
Metadata
Assignees
Labels
A-async-awaitArea: Async & AwaitArea: Async & AwaitA-coroutinesArea: CoroutinesArea: CoroutinesAsyncAwait-TriagedAsync-await issues that have been triaged during a working group meeting.Async-await issues that have been triaged during a working group meeting.B-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.Blocker: Approved by a merged RFC but not yet implemented.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-langRelevant to the language teamRelevant to the language team