Skip to content

newtype structs and tuple structs should have (or just allow) priv fields #5489

@thestinger

Description

@thestinger

At the moment a newtype struct can just be constructed and used as the original type with a dereference outside of the module. It's not possible to use them as an independent new type.

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