]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/rfc-2126-extern-absolute-paths/non-existent-1.stderr
rustc_resolve: don't allow `::crate_name` to bypass `extern_prelude`.
[rust.git] / src / test / ui / rfc-2126-extern-absolute-paths / non-existent-1.stderr
index 27a69ec1b1fafaa2d445fc5c500a65de13ae25f6..1a8ceec5dac068ddd8a4bffbc2f7e16686910ce4 100644 (file)
@@ -1,9 +1,9 @@
-error[E0463]: can't find crate for `xcrate`
+error[E0432]: unresolved import `xcrate`
   --> $DIR/non-existent-1.rs:13:5
    |
-LL | use xcrate::S; //~ ERROR can't find crate for `xcrate`
-   |     ^^^^^^ can't find crate
+LL | use xcrate::S; //~ ERROR unresolved import `xcrate`
+   |     ^^^^^^ Could not find `xcrate` in `{{root}}`
 
 error: aborting due to previous error
 
-For more information about this error, try `rustc --explain E0463`.
+For more information about this error, try `rustc --explain E0432`.