unreachable_patterns false negative with or_patterns #76836
Labels
A-exhaustiveness-checking
Relating to exhaustiveness / usefulness checking of patterns
C-bug
Category: This is a bug.
F-or_patterns
`#![feature(or_patterns)]`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The match remains exhaustive with highlighted pattern removed, but it does not produce any warnings:
The text was updated successfully, but these errors were encountered: