-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
non-exhaustive patterns false positive #73919
Comments
Fairly sure this is intentional for |
From the pull 73937 I've seen a part that I didn't see/remember:
So you're right, this isn't a new bug, it's a known unfinished part. I hope to see that precise_pointer_size_matching implemented. |
It already exists. |
I see, then what do I have to hope to see? :-) |
I'm not sure the feature is ever going to be stabilised, because there are concerns that this isn't a desirable feature. But hopefully the diagnostics will at least be improved in #73937. |
Do you have a link to such concerns? (Or are you willing to summarize them?) |
I think the relevant concerns arose in the RFC thread (from this comment up). The overview is that we ought not to make assumptions about pointer sizes on the target platform, because they're not guaranteed to be fixed, so this could cause compatibility issues. |
Gives:
The text was updated successfully, but these errors were encountered: