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