summaryrefslogtreecommitdiffstats
path: root/src/test/ui/resolve/crate-in-paths.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/resolve/crate-in-paths.stderr')
-rw-r--r--src/test/ui/resolve/crate-in-paths.stderr14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/ui/resolve/crate-in-paths.stderr b/src/test/ui/resolve/crate-in-paths.stderr
new file mode 100644
index 000000000..b7cf49507
--- /dev/null
+++ b/src/test/ui/resolve/crate-in-paths.stderr
@@ -0,0 +1,14 @@
+error[E0425]: cannot find value `Foo` in this scope
+ --> $DIR/crate-in-paths.rs:8:5
+ |
+LL | Foo;
+ | ^^^ not found in this scope
+ |
+help: consider importing this unit struct
+ |
+LL | use crate::bar::Foo;
+ |
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0425`.