summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/issue-28388-2.rs
blob: 024b0388bc609e15afa9dc764cd2adb9c6a2d9fb (plain)
1
2
3
4
5
6
7
8
9
10
// Prefix in imports with empty braces should be resolved and checked privacy, stability, etc.

mod m {
    mod n {}
}

use m::n::{};
//~^ ERROR module `n` is private

fn main() {}