2018-08-30 07:18:55 -05:00
|
|
|
// run-pass
|
2018-09-25 16:51:35 -05:00
|
|
|
#![allow(dead_code)]
|
|
|
|
#![allow(unused_imports)]
|
2018-08-31 08:02:01 -05:00
|
|
|
#![allow(non_snake_case)]
|
|
|
|
|
2015-12-15 20:35:11 -06:00
|
|
|
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() {}
|