-
Notifications
You must be signed in to change notification settings - Fork 707
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
Add support for non_exhaustive rustified enums. #1575
Conversation
Implements the feature discussed in #1554.
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.
Implementation-wise looks good! Mostly some requests about naming / API shape and the test needs to be fixed. But we can totally land features that work only on nightly, as long as it's reflected properly on the rust_target
, so no need to wait for stabilization.
Will panic if the feature is being used outside nightly. See #1575 (comment)
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.
No worries, this looks good! Just a couple more nits and a test fix left.
Thank you!
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.
Looks great!
Implements the feature discussed in #1554.