Skip to content

Non exported enum variants can be imported from other crates #3135

Closed
@msullivan

Description

@msullivan

Non exported enum variants can be imported from other crates, although not by modules in the same crate.

This is because enum variants are unconditionally written out to metadata.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-linkageArea: linking into static, shared libraries and binaries

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions