mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
26 lines
307 B
Rust
26 lines
307 B
Rust
//@ run-pass
|
|
#![allow(dead_code)]
|
|
#![allow(unused_imports)]
|
|
#![allow(non_snake_case)]
|
|
|
|
mod A {
|
|
pub mod B {
|
|
use super::*;
|
|
|
|
pub struct S;
|
|
}
|
|
|
|
pub mod C {
|
|
use super::*;
|
|
use super::B::S;
|
|
|
|
pub struct T;
|
|
}
|
|
|
|
pub use self::C::T;
|
|
}
|
|
|
|
use A::*;
|
|
|
|
fn main() {}
|