]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve_self_super_hint.rs
Use `summary_opts()` in another spot
[rust.git] / src / test / ui / resolve_self_super_hint.rs
1 mod a {
2     extern crate alloc;
3     use alloc::HashMap;
4     //~^ ERROR unresolved import `alloc` [E0432]
5     //~| HELP a similar path exists
6     //~| SUGGESTION self::alloc
7     mod b {
8         use alloc::HashMap;
9         //~^ ERROR unresolved import `alloc` [E0432]
10         //~| HELP a similar path exists
11         //~| SUGGESTION super::alloc
12         mod c {
13             use alloc::HashMap;
14             //~^ ERROR unresolved import `alloc` [E0432]
15             //~| HELP a similar path exists
16             //~| SUGGESTION a::alloc
17             mod d {
18                 use alloc::HashMap;
19                 //~^ ERROR unresolved import `alloc` [E0432]
20                 //~| HELP a similar path exists
21                 //~| SUGGESTION a::alloc
22             }
23         }
24     }
25 }
26
27 fn main() {}