mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
23 lines
186 B
Rust
23 lines
186 B
Rust
//@ check-pass
|
|
|
|
mod foo {
|
|
pub fn bar() {}
|
|
}
|
|
|
|
pub use foo::*;
|
|
use b::bar;
|
|
|
|
mod foobar {
|
|
use super::*;
|
|
}
|
|
|
|
mod a {
|
|
pub mod bar {}
|
|
}
|
|
|
|
mod b {
|
|
pub use a::bar;
|
|
}
|
|
|
|
fn main() {}
|