2020-08-27 12:27:14 +00:00
|
|
|
error[E0433]: failed to resolve: use of undeclared type `HashMap`
|
2020-06-02 18:16:23 +00:00
|
|
|
--> $DIR/use_suggestion.rs:2:14
|
|
|
|
|
|
|
|
|
LL | let x1 = HashMap::new();
|
2022-10-27 06:36:07 +00:00
|
|
|
| ^^^^^^^ use of undeclared type `HashMap`
|
2020-06-02 18:16:23 +00:00
|
|
|
|
|
2020-06-05 09:57:37 +00:00
|
|
|
help: consider importing this struct
|
2020-06-02 18:16:23 +00:00
|
|
|
|
|
|
|
|
LL | use std::collections::HashMap;
|
|
|
|
|
|
|
|
|
|
|
|
|
error[E0412]: cannot find type `HashMap` in this scope
|
|
|
|
--> $DIR/use_suggestion.rs:5:13
|
|
|
|
|
|
|
|
|
LL | let y1: HashMap;
|
|
|
|
| ^^^^^^^ not found in this scope
|
|
|
|
|
|
2020-06-05 09:57:37 +00:00
|
|
|
help: consider importing this struct
|
2020-06-02 18:16:23 +00:00
|
|
|
|
|
|
|
|
LL | use std::collections::HashMap;
|
|
|
|
|
|
|
|
|
|
|
|
|
error[E0412]: cannot find type `GooMap` in this scope
|
|
|
|
--> $DIR/use_suggestion.rs:6:13
|
|
|
|
|
|
|
|
|
LL | let y2: GooMap;
|
|
|
|
| ^^^^^^ not found in this scope
|
|
|
|
|
2022-09-18 07:35:21 +00:00
|
|
|
error[E0433]: failed to resolve: use of undeclared type `GooMap`
|
|
|
|
--> $DIR/use_suggestion.rs:3:14
|
|
|
|
|
|
|
|
|
LL | let x2 = GooMap::new();
|
|
|
|
| ^^^^^^ use of undeclared type `GooMap`
|
|
|
|
|
2020-06-02 18:16:23 +00:00
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|
|
|
|
Some errors have detailed explanations: E0412, E0433.
|
|
|
|
For more information about an error, try `rustc --explain E0412`.
|