mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
20 lines
570 B
Plaintext
20 lines
570 B
Plaintext
error[E0433]: failed to resolve: could not find `hahmap` in `std`
|
|
--> $DIR/missing-in-namespace.rs:2:21
|
|
|
|
|
LL | let _map = std::hahmap::HashMap::new();
|
|
| ^^^^^^ could not find `hahmap` in `std`
|
|
|
|
|
help: consider importing this struct
|
|
|
|
|
LL + use std::collections::HashMap;
|
|
|
|
|
help: if you import `HashMap`, refer to it directly
|
|
|
|
|
LL - let _map = std::hahmap::HashMap::new();
|
|
LL + let _map = HashMap::new();
|
|
|
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0433`.
|