Skip to content

Update union/enum chapter to take RFC 2645 into account #96

Closed
@nikomatsakis

Description

@nikomatsakis

RFC 2645 extends #[repr(transparent)] to unions and single variant enums. It looks likely to be accepted. We will probably need to update our layout and ABI chapter(s).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-layoutTopic: Related to data structure layout (`#[repr]`)C-editorialCategory: Tracking editorial improvements to the documentS-not-opsemDespite being in this repo, this is not primarily a T-opsem question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions