2020-08-27 12:27:14 +00:00
|
|
|
error[E0433]: failed to resolve: use of undeclared type `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();
|
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
|
|
|
|
|
2023-03-18 02:18:39 +00:00
|
|
|
LL + use std::collections::HashMap;
|
2020-06-02 18:16:23 +00:00
|
|
|
|
|
2017-12-10 19:47:55 +00:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2017-12-10 19:47:55 +00:00
|
|
|
|
2018-03-03 14:59:40 +00:00
|
|
|
For more information about this error, try `rustc --explain E0433`.
|