blob: 91a01cc0fa2310f9f318b07e2f421023f095ffc3 [file] [log] [blame]
#![feature(alloc)]
#![allow(unused_extern_crates)]
mod a {
extern crate alloc;
use alloc::HashMap;
//~^ ERROR unresolved import `alloc` [E0432]
//~| HELP a similar path exists
//~| SUGGESTION self::alloc
mod b {
use alloc::HashMap;
//~^ ERROR unresolved import `alloc` [E0432]
//~| HELP a similar path exists
//~| SUGGESTION super::alloc
mod c {
use alloc::HashMap;
//~^ ERROR unresolved import `alloc` [E0432]
//~| HELP a similar path exists
//~| SUGGESTION a::alloc
mod d {
use alloc::HashMap;
//~^ ERROR unresolved import `alloc` [E0432]
//~| HELP a similar path exists
//~| SUGGESTION a::alloc
}
}
}
}
fn main() {}