Skip to content

Can still publicly re-export traits that inherit from private supertraits #17847

Closed
@tomjakubowski

Description

@tomjakubowski

Example:

#![crate_type="lib"]
pub use a::Child;

mod a {
    pub trait Parent {}
    pub trait Child: Parent {}
}

Looks like this wasn't covered by #17401, but this seems wrong as part of RFC 48.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions