rust/src/test/ui/resolve_self_super_hint.rs
Vadim Petrochenkov 434152157f Remove lint annotations in specific crates that are already enforced by rustbuild
Remove some random unnecessary lint `allow`s
2019-07-28 18:46:24 +03:00

27 lines
781 B
Rust

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() {}