]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-28388-1.stderr
Auto merge of #57108 - Mark-Simulacrum:license-remove, r=pietroalbini
[rust.git] / src / test / ui / issues / issue-28388-1.stderr
index 9f4b6cb56e7275d468e0b268ccc323e4e3300d26..6aabf65351200845666b5910fe7575af6d0de1f2 100644 (file)
@@ -1,9 +1,9 @@
-error[E0578]: cannot find module or enum `foo` in the crate root
-  --> $DIR/issue-28388-1.rs:13:5
+error[E0432]: unresolved import `foo`
+  --> $DIR/issue-28388-1.rs:3:5
    |
-LL | use foo::{}; //~ ERROR cannot find module or enum `foo` in the crate root
-   |     ^^^ not found in the crate root
+LL | use foo::{}; //~ ERROR unresolved import `foo`
+   |     ^^^^^^^ no `foo` in the root
 
 error: aborting due to previous error
 
-For more information about this error, try `rustc --explain E0578`.
+For more information about this error, try `rustc --explain E0432`.