2020-08-27 07:27:14 -05:00
|
|
|
error[E0433]: failed to resolve: use of undeclared type `HashMap`
|
2020-06-02 13:16:23 -05:00
|
|
|
--> $DIR/use_suggestion.rs:2:14
|
|
|
|
|
|
|
|
|
LL | let x1 = HashMap::new();
|
2022-10-27 01:36:07 -05:00
|
|
|
| ^^^^^^^ use of undeclared type `HashMap`
|
2020-06-02 13:16:23 -05:00
|
|
|
|
|
2020-06-05 04:57:37 -05:00
|
|
|
help: consider importing this struct
|
2020-06-02 13:16:23 -05:00
|
|
|
|
|
2023-03-17 21:18:39 -05:00
|
|
|
LL + use std::collections::HashMap;
|
2020-06-02 13:16:23 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
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 04:57:37 -05:00
|
|
|
help: consider importing this struct
|
2020-06-02 13:16:23 -05:00
|
|
|
|
|
2023-03-17 21:18:39 -05:00
|
|
|
LL + use std::collections::HashMap;
|
2020-06-02 13:16:23 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
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 02:35:21 -05: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 13:16:23 -05: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`.
|