Skip to content

Privacy, stability etc. are not respected in imports with empty braces #28388

Closed
@petrochenkov

Description

@petrochenkov
use std::rt::{};

should warn that std::rt is unstable, but it doesn't.

mod m {
    mod n {}
}

use m::n::{};

should be caught by privacy checker, but it isn't.

See #28364 (comment) for some details.

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