-
Notifications
You must be signed in to change notification settings - Fork 145
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
Compile union feature on 1.50 via ManuallyDrop? #247
Comments
Yes, it looks like this works! Please feel free to submit a pull request if you have a version that compiles already. (Or I can do it, if you prefer.) You can also change the documentation comment at the top of |
bors-servo
added a commit
that referenced
this issue
Dec 31, 2020
Wrap with ManuallyDrop so that the union feature works on 1.50 Per #247 (comment) The unrelated diff was produced by rustfmt, which my editor runs automatically. I'm a bit surprised, usually when this produces a diff it's a big one. Do you want me to revert those lines?
Closing, PR addressing this was merged |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On the 1.50 beta if I delete the
cfg_attr
forfeature = "union"
, I get this error message:It doesn't take a lot to make the 1.50 (currently beta) compiler accept the code, but I'm a bit out of my depth here. Can we have the union feature on stable starting in 1.50?
The text was updated successfully, but these errors were encountered: