2018-11-13 23:52:26 +00:00
|
|
|
error[E0433]: failed to resolve: use of undeclared type or module `HashMap`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/issue-31997-1.rs:20:19
|
2017-12-10 19:47:55 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | let mut map = HashMap::new();
|
2020-06-02 18:16:23 +00:00
|
|
|
| ^^^^^^^ not found in this scope
|
|
|
|
|
|
|
|
|
help: consider importing one of these items
|
|
|
|
|
|
|
|
|
LL | use std::collections::HashMap;
|
|
|
|
|
|
|
|
|
LL | use std::collections::hash_map::HashMap;
|
|
|
|
|
|
2017-12-10 19:47:55 +00:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 14:59:40 +00:00
|
|
|
For more information about this error, try `rustc --explain E0433`.
|