]>
Commit | Line | Data |
---|---|---|
f035d41b XL |
1 | error[E0433]: failed to resolve: use of undeclared type or module `GooMap` |
2 | --> $DIR/use_suggestion.rs:3:14 | |
3 | | | |
4 | LL | let x2 = GooMap::new(); | |
5 | | ^^^^^^ use of undeclared type or module `GooMap` | |
6 | ||
7 | error[E0433]: failed to resolve: use of undeclared type or module `HashMap` | |
8 | --> $DIR/use_suggestion.rs:2:14 | |
9 | | | |
10 | LL | let x1 = HashMap::new(); | |
11 | | ^^^^^^^ not found in this scope | |
12 | | | |
13 | help: consider importing this struct | |
14 | | | |
15 | LL | use std::collections::HashMap; | |
16 | | | |
17 | ||
18 | error[E0412]: cannot find type `HashMap` in this scope | |
19 | --> $DIR/use_suggestion.rs:5:13 | |
20 | | | |
21 | LL | let y1: HashMap; | |
22 | | ^^^^^^^ not found in this scope | |
23 | | | |
24 | help: consider importing this struct | |
25 | | | |
26 | LL | use std::collections::HashMap; | |
27 | | | |
28 | ||
29 | error[E0412]: cannot find type `GooMap` in this scope | |
30 | --> $DIR/use_suggestion.rs:6:13 | |
31 | | | |
32 | LL | let y2: GooMap; | |
33 | | ^^^^^^ not found in this scope | |
34 | ||
35 | error: aborting due to 4 previous errors | |
36 | ||
37 | Some errors have detailed explanations: E0412, E0433. | |
38 | For more information about an error, try `rustc --explain E0412`. |