Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Change untagged_unions to not allow union fields with drop #62330
This is a rebase of #56440, massaged to solve merge conflicts and make the test suite pass.
Change untagged_unions to not allow union fields with drop
Union fields may now never have a type with attached destructor. This for example allows unions to use arbitrary field types only by wrapping them in
The stable rule remains, that union fields must be
referenced this pull request
Jul 4, 2019
Click to expand the log.