Skip to content

Commit

Permalink
Rollup merge of #113019 - ericmarkmartin:warning-for-guard-non-exhaus…
Browse files Browse the repository at this point in the history
…tion, r=fee1-dead

add note for non-exhaustive matches with guards

Associated issue: #92197

When a match statement includes guards on every match arm (and is therefore necessarily non-exhaustive), add a note to the error E0004 diagnostic noting this.
  • Loading branch information
Dylan-DPC authored Jun 28, 2023
2 parents c8c5719 + 0a19f60 commit 3cc83a7
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 3cc83a7

Please sign in to comment.