diff options
Diffstat (limited to 'tests/ui/resolve/crate-in-paths.stderr')
-rw-r--r-- | tests/ui/resolve/crate-in-paths.stderr | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/ui/resolve/crate-in-paths.stderr b/tests/ui/resolve/crate-in-paths.stderr new file mode 100644 index 000000000..b7cf49507 --- /dev/null +++ b/tests/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`. |