mirror of https://github.com/rust-lang/rust.git
19 lines
188 B
Rust
19 lines
188 B
Rust
|
// check-pass
|
||
|
|
||
|
mod foo {
|
||
|
pub use bar::*;
|
||
|
pub use main as f;
|
||
|
}
|
||
|
|
||
|
mod bar {
|
||
|
pub use foo::*;
|
||
|
}
|
||
|
|
||
|
pub use foo::*;
|
||
|
pub use baz::*;
|
||
|
mod baz {
|
||
|
pub use super::*;
|
||
|
}
|
||
|
|
||
|
pub fn main() {}
|