Incorrect "unreachable pattern" warning #79498
Labels
I-unsound
Issue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/Soundness
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-release
Relevant to the release subteam, which will review and decide on the PR/issue.
Milestone
Hi,
the following program builds without warnings on stable and nightly, but prints an (IMHO incorrect) warning on beta:
(Playground)
Errors:
The panic shows that the supposedly unreachable pattern was, well, reached.
Originally discovered in psychon/x11rb#561 and surprisingly my attempt at reducing the example succeeded on the first try.
The text was updated successfully, but these errors were encountered: