Skip to content

Missing match arms should not be reported on matches missing a body #15954

Closed
@Veykril

Description

@Veykril

Or rather, we shouldn't do exhaustiveness checking for matches that are missing a body, they may hide the syntax error / make it less noticable.
Example that should not trigger exhaustiveness checking

match 0;

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions