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