2020-08-27 07:27:14 -05:00
|
|
|
error[E0433]: failed to resolve: use of undeclared type `HashMap`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-31997-1.rs:20:19
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | let mut map = 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
|
|
|
|
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0433`.
|