rust/src/test/ui/derived-errors/issue-31997-1.stderr

17 lines
463 B
Plaintext
Raw Normal View History

error[E0433]: failed to resolve: use of undeclared type or module `HashMap`
2018-12-25 15:56:47 +00:00
--> $DIR/issue-31997-1.rs:20:19
|
2018-02-23 00:42:32 +00:00
LL | let mut map = HashMap::new();
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
LL | use std::collections::HashMap;
|
LL | use std::collections::hash_map::HashMap;
|
error: aborting due to previous error
2018-03-03 14:59:40 +00:00
For more information about this error, try `rustc --explain E0433`.