]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/missing-in-namespace.stderr
:arrow_up: rust-analyzer
[rust.git] / src / test / ui / resolve / missing-in-namespace.stderr
1 error[E0433]: failed to resolve: could not find `hahmap` in `std`
2   --> $DIR/missing-in-namespace.rs:2:29
3    |
4 LL |     let _map = std::hahmap::HashMap::new();
5    |                             ^^^^^^^ not found in `std::hahmap`
6    |
7 help: consider importing this struct
8    |
9 LL | use std::collections::HashMap;
10    |
11 help: if you import `HashMap`, refer to it directly
12    |
13 LL -     let _map = std::hahmap::HashMap::new();
14 LL +     let _map = HashMap::new();
15    |
16
17 error: aborting due to previous error
18
19 For more information about this error, try `rustc --explain E0433`.