]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/rust-2018/uniform-paths/deadlock.stderr
Improve suggestion for extern crate self error message
[rust.git] / src / test / ui / rust-2018 / uniform-paths / deadlock.stderr
index 9336e90afb71d23b5497ac491ebc3d16ca4d62eb..8b9863948bd6cd9cd076df02214ec65b7bb906aa 100644 (file)
@@ -1,9 +1,24 @@
-error[E0463]: can't find crate for `foo`
+error[E0463]: can't find crate for `bar`
   --> $DIR/deadlock.rs:4:5
    |
+LL | use bar::foo;
+   |     ^^^ can't find crate
+
+error[E0463]: can't find crate for `foo`
+  --> $DIR/deadlock.rs:5:5
+   |
 LL | use foo::bar;
    |     ^^^ can't find crate
 
-error: aborting due to previous error
+error[E0432]: unresolved imports `bar::foo`, `foo::bar`
+  --> $DIR/deadlock.rs:4:5
+   |
+LL | use bar::foo;
+   |     ^^^^^^^^
+LL | use foo::bar;
+   |     ^^^^^^^^
+
+error: aborting due to 3 previous errors
 
-For more information about this error, try `rustc --explain E0463`.
+Some errors have detailed explanations: E0432, E0463.
+For more information about an error, try `rustc --explain E0432`.