Skip to content

Tracking issue for union improvements #173

Closed
@carols10cents

Description

@carols10cents

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions