2020-08-27 13:27:14 +01:00
|
|
|
error[E0433]: failed to resolve: use of undeclared type `HashMap`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/issue-31997-1.rs:20:19
|
2017-12-10 22:47:55 +03:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | let mut map = HashMap::new();
|
2022-10-27 01:36:07 -05:00
|
|
|
| ^^^^^^^ use of undeclared type `HashMap`
|
2020-06-02 20:16:23 +02:00
|
|
|
|
|
2020-06-05 15:27:37 +05:30
|
|
|
help: consider importing this struct
|
2020-06-02 20:16:23 +02:00
|
|
|
|
|
2023-03-18 02:18:39 +00:00
|
|
|
LL + use std::collections::HashMap;
|
2020-06-02 20:16:23 +02:00
|
|
|
|
|
2017-12-10 22:47:55 +03:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 15:59:40 +01:00
|
|
|
For more information about this error, try `rustc --explain E0433`.
|