Skip to content

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

Open
@Centril

Description

@Centril

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.

Metadata

Metadata

Assignees

Labels

A-async-awaitArea: Async & AwaitA-edition-2015Area: The 2015 edition (the first edition)A-parserArea: The lexing & parsing of Rust source code to an ASTAsyncAwait-TriagedAsync-await issues that have been triaged during a working group meeting.C-enhancementCategory: An issue proposing an enhancement or a PR with one.I-needs-decisionIssue: In need of a decision.P-lowLow priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-langRelevant to the language team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions