summaryrefslogtreecommitdiffstats
path: root/src/test/ui/resolve/bad-module.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/resolve/bad-module.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/ui/resolve/bad-module.stderr b/src/test/ui/resolve/bad-module.stderr
new file mode 100644
index 000000000..581a66198
--- /dev/null
+++ b/src/test/ui/resolve/bad-module.stderr
@@ -0,0 +1,15 @@
+error[E0433]: failed to resolve: use of undeclared crate or module `thing`
+ --> $DIR/bad-module.rs:2:15
+ |
+LL | let foo = thing::len(Vec::new());
+ | ^^^^^ use of undeclared crate or module `thing`
+
+error[E0433]: failed to resolve: use of undeclared crate or module `foo`
+ --> $DIR/bad-module.rs:5:15
+ |
+LL | let foo = foo::bar::baz();
+ | ^^^ use of undeclared crate or module `foo`
+
+error: aborting due to 2 previous errors
+
+For more information about this error, try `rustc --explain E0433`.