2021-01-18 14:01:09 +01:00
|
|
|
error[E0433]: failed to resolve: could not find `hahmap` in `std`
|
2022-10-27 01:36:07 -05:00
|
|
|
--> $DIR/missing-in-namespace.rs:2:21
|
2021-01-18 14:01:09 +01:00
|
|
|
|
|
|
|
|
LL | let _map = std::hahmap::HashMap::new();
|
2022-10-27 01:36:07 -05:00
|
|
|
| ^^^^^^ could not find `hahmap` in `std`
|
2021-01-18 14:01:09 +01:00
|
|
|
|
|
2022-05-03 02:07:47 +00:00
|
|
|
help: consider importing this struct
|
2021-01-18 14:01:09 +01:00
|
|
|
|
|
|
|
|
LL | use std::collections::HashMap;
|
|
|
|
|
|
2022-05-03 02:07:47 +00:00
|
|
|
help: if you import `HashMap`, refer to it directly
|
2022-04-23 16:41:36 -07:00
|
|
|
|
|
|
|
|
LL - let _map = std::hahmap::HashMap::new();
|
|
|
|
LL + let _map = HashMap::new();
|
2022-06-08 20:34:57 +03:00
|
|
|
|
|
2021-01-18 14:01:09 +01:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0433`.
|