diff options
Diffstat (limited to 'tests/ui/derived-errors/issue-31997-1.stderr')
-rw-r--r-- | tests/ui/derived-errors/issue-31997-1.stderr | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/ui/derived-errors/issue-31997-1.stderr b/tests/ui/derived-errors/issue-31997-1.stderr new file mode 100644 index 000000000..2f4aabf84 --- /dev/null +++ b/tests/ui/derived-errors/issue-31997-1.stderr @@ -0,0 +1,14 @@ +error[E0433]: failed to resolve: use of undeclared type `HashMap` + --> $DIR/issue-31997-1.rs:20:19 + | +LL | let mut map = HashMap::new(); + | ^^^^^^^ use of undeclared type `HashMap` + | +help: consider importing this struct + | +LL | use std::collections::HashMap; + | + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0433`. |