-
Notifications
You must be signed in to change notification settings - Fork 383
Support for arbitrary enum discriminants #4069
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
Support for arbitrary enum discriminants #4069
Conversation
91418b0 to
4c9ec88
Compare
mchernyavsky
left a 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.
It's strange, but I still can't use this feature. I have rustc 1.37.0-nightly and when I try to compile my project I get the error
error[E0635]: unknown feature `arbitrary_enum_discriminant`".
4c9ec88 to
e19290d
Compare
|
@mchernyavsky I've just checked and it works fine for me. Make sure you have a recent enough version of Rust nightly (not older than one week). Also, I do know it doesn't work on the playground because it has a nightly version that's not recent enough. |
mchernyavsky
left a 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.
Thanks!
bors r+
4056: INT: Fix creation of new module if no corresponding directory exists r=mchernyavsky a=mchernyavsky Fixes #3995. 4069: Support for arbitrary enum discriminants r=mchernyavsky a=mibac138 Reference: rust-lang/rust#60732 Co-authored-by: mchernyavsky <[email protected]> Co-authored-by: mibac138 <[email protected]>
Reference: rust-lang/rust#60732