blob: dcabc528a85edc94b6e1fd59904d50a93f86e4ca [file] [log] [blame] [edit]
mod a {
mod b {
mod c {
pub struct E;
}
mod d {
#[derive(Debug)]
pub struct E;
}
pub use self::d::*;
pub use self::c::*;
}
pub use self::b::*;
}
use self::a::E::in_exist;
//~^ ERROR: unresolved import `self::a::E`
//~| WARNING: `E` is ambiguous
//~| WARNING: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
fn main() {}