Skip to content

rustc_privacy: Audit VisiblePrivateTypesVisitor for correct processing of items in blocks #29524

Closed
@petrochenkov

Description

@petrochenkov

Spawned from https://github.com/rust-lang/rust/pull/29291/files#r43682594

VisiblePrivateTypesVisitor assumes that blocks can't contain exported items, but it's not true, blocks can contain impls, and they can be exported.

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