Skip to content

async fn inside fn fails to parse #51933

Closed
@cramertj

Description

@cramertj

This fails to parse: fn foo() { async fn bar() { } }.

Metadata

Metadata

Assignees

Labels

A-async-awaitArea: Async & AwaitA-parserArea: The lexing & parsing of Rust source code to an ASTAsyncAwait-TriagedAsync-await issues that have been triaged during a working group meeting.C-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions