27 lines
685 B
Rust
27 lines
685 B
Rust
#![feature(alloc)]
|
|
#![allow(unused_extern_crates)]
|
|
|
|
mod a {
|
|
extern crate alloc;
|
|
use alloc::HashMap;
|
|
//~^ ERROR unresolved import `alloc` [E0432]
|
|
//~| did you mean `self::alloc`?
|
|
mod b {
|
|
use alloc::HashMap;
|
|
//~^ ERROR unresolved import `alloc` [E0432]
|
|
//~| did you mean `super::alloc`?
|
|
mod c {
|
|
use alloc::HashMap;
|
|
//~^ ERROR unresolved import `alloc` [E0432]
|
|
//~| did you mean `a::alloc`?
|
|
mod d {
|
|
use alloc::HashMap;
|
|
//~^ ERROR unresolved import `alloc` [E0432]
|
|
//~| did you mean `a::alloc`?
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fn main() {}
|