mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
13 lines
188 B
Rust
13 lines
188 B
Rust
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() {}
|