Remove outdated note about non-Copy union fields#1239
Remove outdated note about non-Copy union fields#1239GoldsteinE wants to merge 1 commit intorust-lang:masterfrom
Conversation
|
I think this isn't quite right - only a small sunset of non-Copy types is permitted, and probably should be documented here. |
|
I thought any non-Copy types without custom destructors are allowed? I’m going to re-read that issue, thanks for correction. |
|
We recently changed the documentation for union drop requirements (#1238). I think it would be fine to keep some kind of note here, just as a reminder as to why
Also, there are two identical notes in this chapter that need to be updated. |
|
☔ The latest upstream changes (possibly f80986b) made this pull request unmergeable. Please resolve the merge conflicts. |
Unions with non-Copy fields are now stable.