Skip to content

Alt arms with effect blocks don't parse the same as plain blocks #3075

Closed
@brson

Description

@brson
alt foo {
    true => unsafe { }, // requires a comma. normal blocks don't
    _ => { }
}

Metadata

Metadata

Assignees

Labels

A-grammarArea: The grammar of Rust

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions