or_patterns: incorrect unreachable pattern warning #71977
Labels
A-exhaustiveness-checking
Relating to exhaustiveness / usefulness checking of patterns
C-bug
Category: This is a bug.
F-or_patterns
`#![feature(or_patterns)]`
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Results in the following incorrect warning:
Removing
F::A
causes a non-exhaustive patterns error as expected.playground
The text was updated successfully, but these errors were encountered: