Skip to content
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

Tracking issue for union improvements #173

Closed
carols10cents opened this issue Jun 14, 2019 · 1 comment
Closed

Tracking issue for union improvements #173

carols10cents opened this issue Jun 14, 2019 · 1 comment

Comments

@carols10cents
Copy link
Member

Rust tracking issues: rust-lang/rust#32836 and rust-lang/rust#55149 look relevant

Place that needs to be updated: https://github.com/rust-lang-nursery/edition-guide/blame/68c458b9b68edced39aebea60e672a22d4d50edf/src/rust-2018/data-types/union-for-an-unsafe-form-of-enum.md#L58-L60

There’s still more improvements to come. For now, unions can only include Copy types and may not implement Drop. We expect to lift these restrictions in the future.

@ehuss
Copy link
Contributor

ehuss commented May 25, 2021

Closing per #232, this section has been removed. For now, I think the only documentation is in the reference, which should get updated whenever more work on unions is done.

@ehuss ehuss closed this as completed May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants