mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +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() {}
|