-
Notifications
You must be signed in to change notification settings - Fork 597
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
Adds "unstable-exhaustive-types" as new feature. #3056
base: current
Are you sure you want to change the base?
Adds "unstable-exhaustive-types" as new feature. #3056
Conversation
547837f
to
c9293b3
Compare
Why is this pointed at next? You yourself say it isn't a breaking change. |
This is pointed as next because
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, so there is no technical reason it cannot be on current
. Please rebase the PR on current
.
It does not save anyone work to point a PR at the wrong branch, as if it is pointed at next but could be on current someone is going to backport it for current and lead to rebase annoyances.
I could also create another PR for current if you want, so you have both. |
Do not create two PRs, simply rebase this one on current. When a maintainer (probably me) feels like it (usually meaning not many PRs to |
Ok, that makes sense. |
This feature deactivates all "#[non_exhaustive]" added into the code. This can be used by developers to ensure, that they match all enum variants or struct fields during pattern matching.
c9293b3
to
d855f04
Compare
Done |
This feature deactivates all "#[non_exhaustive]" added into the code. This can be used by developers to ensure, that they match all enum variants or struct fields during pattern matching.
This should not break any existing code.