-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
False warning of multiple patterns overlaping #120052
Labels
C-bug
Category: This is a bug.
Comments
rustbot
added
the
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
label
Jan 17, 2024
Thanks for your report! However, this is already fixed on nightly. |
fmease
removed
the
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
label
Jan 17, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rustc version: rustc 1.75.0 (82e1608 2023-12-21)
relevant settings: nothing
Following code reports a warning:
But branches are mutually exclusive because of the second element in the tuple.
The code is a minimal testcase. Original code contains much more branches (ranges, classes, predicates)
The text was updated successfully, but these errors were encountered: