mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
18 lines
283 B
Rust
18 lines
283 B
Rust
//@ check-pass
|
|
|
|
pub type T = ();
|
|
mod foo { pub use super::T; }
|
|
mod bar { pub use super::T; }
|
|
|
|
pub use foo::*;
|
|
pub use bar::*;
|
|
|
|
mod baz {
|
|
pub type T = ();
|
|
mod foo { pub use super::T as S; }
|
|
mod bar { pub use super::foo::S as T; }
|
|
pub use self::bar::*;
|
|
}
|
|
|
|
fn main() {}
|