Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EXPERIMENT: Make async fn, .await, async move? { legal on 2015 #64286

Open
Centril opened this issue Sep 8, 2019 · 0 comments
Open

EXPERIMENT: Make async fn, .await, async move? { legal on 2015 #64286

Centril opened this issue Sep 8, 2019 · 0 comments
Assignees
Labels
A-async-await Area: Async & Await A-parser Area: The parsing of Rust source code to an AST. AsyncAwait-Triaged Async-await issues that have been triaged during a working group meeting. C-enhancement Category: An issue proposing an enhancement or a PR with one. I-needs-decision Issue: In need of a decision. P-low Low priority T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-lang Relevant to the language team, which will review and decide on the PR/issue.

Comments

@Centril
Copy link
Contributor

Centril commented Sep 8, 2019

The parser currently will not parse async fn, async move? $block, and <expr>.await on Rust 2015.

Check whether:

  • doing so would simplify the parser & the grammar.
  • it is feasible with a crater run for <expr>.await and async move? $block

Drawbacks include:

  • folks having fewer incentives to use Rust 2018.
@Centril Centril added C-enhancement Category: An issue proposing an enhancement or a PR with one. A-parser Area: The parsing of Rust source code to an AST. P-low Low priority I-needs-decision Issue: In need of a decision. T-lang Relevant to the language team, which will review and decide on the PR/issue. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. A-async-await Area: Async & Await AsyncAwait-Triaged Async-await issues that have been triaged during a working group meeting. labels Sep 8, 2019
@Centril Centril self-assigned this Sep 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-async-await Area: Async & Await A-parser Area: The parsing of Rust source code to an AST. AsyncAwait-Triaged Async-await issues that have been triaged during a working group meeting. C-enhancement Category: An issue proposing an enhancement or a PR with one. I-needs-decision Issue: In need of a decision. P-low Low priority T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-lang Relevant to the language team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

1 participant