Skip to content

Conversation

petrochenkov
Copy link
Contributor

Copy-pasted from rust-lang/rfcs#1897

@steveklabnik
Copy link
Contributor

Unions are not yet stable, so we'll have to wait until they are to merge.

@petrochenkov
Copy link
Contributor Author

@steveklabnik
So, the stabilization PR (rust-lang/rust#42068) can land before this one? Ok.

@steveklabnik
Copy link
Contributor

Yup! Sending in this PR is enough to satisfy the requirement of stabilizing the feature. Then it lands, then we land tihs.

bors added a commit to rust-lang/rust that referenced this pull request May 27, 2017
Stabilize unions with `Copy` fields and no destructor

What else is needed:
- [x] Documentation (rust-lang/reference#57).
- [x] Making assignments to `Copy` union fields safe (#42083).
- [ ] Backport? (The "stabilization decision" is from [Apr 13](#32836 (comment)), it's just this PR is late.)

cc #32836
r? @nikomatsakis
@frewsxcv
Copy link
Contributor

Just reran Travis and this passes now. The contents of the PR look good to me. Seems good to merge?

@steveklabnik steveklabnik merged commit e3479cb into rust-lang:master May 30, 2017
@steveklabnik
Copy link
Contributor

Yup!

@petrochenkov petrochenkov deleted the union branch September 10, 2017 21:54
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

Successfully merging this pull request may close these issues.

3 participants