Skip to content

RFC: Unify pub for classes and pub for export #2300

Closed
@nikomatsakis

Description

@nikomatsakis

Right now classes have pub and priv sections but exported items are labeled individually. We should do the same thing, I think, for both. I'd prefer to see class items individually labeled public and private with private the default, just as with modules. Reasonable people may differ on this, however.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-resolveArea: Name/path resolution done by `rustc_resolve` specificallyC-cleanupCategory: PRs that clean code up or issues documenting cleanup.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions