Skip to content

Rustdoc: size layout should show "uninhabited" for empty enums, not 0 #87008

Closed
@jyn514

Description

@jyn514

Originally posted by @jyn514 in #86263 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-layoutArea: Memory layout of typesA-rustdoc-type-layoutArea: `rustdoc --show-type-layout` (nightly-only)C-bugCategory: This is a bug.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.requires-nightlyThis issue requires a nightly compiler in some way.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions