2014-06-04 17:55:10 -05:00
|
|
|
mod a {
|
2017-06-13 17:52:59 -05:00
|
|
|
extern crate alloc;
|
|
|
|
use alloc::HashMap;
|
2017-07-23 17:15:45 -05:00
|
|
|
//~^ ERROR unresolved import `alloc` [E0432]
|
2019-01-16 14:30:41 -06:00
|
|
|
//~| HELP a similar path exists
|
|
|
|
//~| SUGGESTION self::alloc
|
2014-06-04 17:55:10 -05:00
|
|
|
mod b {
|
2017-06-13 17:52:59 -05:00
|
|
|
use alloc::HashMap;
|
2017-07-23 17:15:45 -05:00
|
|
|
//~^ ERROR unresolved import `alloc` [E0432]
|
2019-01-16 14:30:41 -06:00
|
|
|
//~| HELP a similar path exists
|
|
|
|
//~| SUGGESTION super::alloc
|
2014-06-04 17:55:10 -05:00
|
|
|
mod c {
|
2017-06-13 17:52:59 -05:00
|
|
|
use alloc::HashMap;
|
2017-07-23 17:15:45 -05:00
|
|
|
//~^ ERROR unresolved import `alloc` [E0432]
|
2019-01-16 14:30:41 -06:00
|
|
|
//~| HELP a similar path exists
|
|
|
|
//~| SUGGESTION a::alloc
|
2014-06-04 17:55:10 -05:00
|
|
|
mod d {
|
2017-06-13 17:52:59 -05:00
|
|
|
use alloc::HashMap;
|
2017-07-23 17:15:45 -05:00
|
|
|
//~^ ERROR unresolved import `alloc` [E0432]
|
2019-01-16 14:30:41 -06:00
|
|
|
//~| HELP a similar path exists
|
|
|
|
//~| SUGGESTION a::alloc
|
2014-06-04 17:55:10 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-08-22 18:19:38 -05:00
|
|
|
|
|
|
|
fn main() {}
|