Skip to content

Should deriving InvariantFree require that a structs fields are the same pub level as the struct? #18

Description

@rylev

Since InvariantFree types are meant to represent types without invariants, it should reason that all the fields of the type should be accessible. Should we require that a structs fields are the same visibility level as the struct itself?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions