Skip to content

Classes: make sure exports work as expected #2286

Closed
@catamorphism

Description

@catamorphism

I think if we export C and C is a class, that should also export C's public fields and methods, by default, by analogy with how we handle enums. Make sure that's actually true.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-linkageArea: linking into static, shared libraries and binariesA-resolveArea: Name/path resolution done by `rustc_resolve` specificallyA-type-systemArea: Type system

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions