-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Decide on bounds syntax for async closures (RFC 3668) #128129
Copy link
Copy link
Closed
Labels
C-discussionCategory: Discussion or questions that doesn't represent real issues.Category: Discussion or questions that doesn't represent real issues.T-langRelevant to the language teamRelevant to the language team
Description
Prior to stabilization, we need to decide which syntax to use for async closure bounds. This was left as an open question in RFC 3668.
The main known candidates are:
F: async FnMut() -> TF: AsyncFnMut() -> T
Other candidates discussed have included:
F: async mut fn() -> TF: async mut () -> TF: async mut || -> TF: async fn(&mut self) -> TF: AsyncFn(&mut self) -> TF: async |&mut self| -> T
Tracking:
@rustbot labels +T-lang +I-lang-nominated
cc @compiler-errors @rust-lang/lang
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-discussionCategory: Discussion or questions that doesn't represent real issues.Category: Discussion or questions that doesn't represent real issues.T-langRelevant to the language teamRelevant to the language team
Type
Fields
Give feedbackNo fields configured for issues without a type.