rust/tests/ui/use/use-mod/use-mod-3.rs

13 lines
188 B
Rust
Raw Normal View History

use foo::bar::{ //~ ERROR module `bar` is private
self
};
use foo::bar::{ //~ ERROR module `bar` is private
Bar
};
mod foo {
mod bar { pub type Bar = isize; }
}
fn main() {}