]> git.lizzy.rs Git - rust.git/blob - tests/ui/imports/issue-28388-2.rs
Rollup merge of #106570 - Xaeroxe:div-duration-tests, r=JohnTitor
[rust.git] / tests / ui / imports / issue-28388-2.rs
1 // Prefix in imports with empty braces should be resolved and checked privacy, stability, etc.
2
3 mod m {
4     mod n {}
5 }
6
7 use m::n::{};
8 //~^ ERROR module `n` is private
9
10 fn main() {}