diff options
Diffstat (limited to 'tests/ui/resolve/missing-in-namespace.stderr')
-rw-r--r-- | tests/ui/resolve/missing-in-namespace.stderr | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/ui/resolve/missing-in-namespace.stderr b/tests/ui/resolve/missing-in-namespace.stderr new file mode 100644 index 000000000..fc925ba3b --- /dev/null +++ b/tests/ui/resolve/missing-in-namespace.stderr @@ -0,0 +1,19 @@ +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 previous error + +For more information about this error, try `rustc --explain E0433`. |