summaryrefslogtreecommitdiffstats
path: root/tests/run-make/unknown-mod-stdin/unknown-mod.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/unknown-mod-stdin/unknown-mod.stderr')
-rw-r--r--tests/run-make/unknown-mod-stdin/unknown-mod.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/run-make/unknown-mod-stdin/unknown-mod.stderr b/tests/run-make/unknown-mod-stdin/unknown-mod.stderr
new file mode 100644
index 000000000..d7258fe4f
--- /dev/null
+++ b/tests/run-make/unknown-mod-stdin/unknown-mod.stderr
@@ -0,0 +1,11 @@
+error[E0583]: file not found for module `unknown`
+ --> <anon>:1:1
+ |
+1 | mod unknown;
+ | ^^^^^^^^^^^^
+ |
+ = help: to create the module `unknown`, create file "unknown.rs" or "unknown/mod.rs"
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0583`.