]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/rust-2018/local-path-suggestions-2018.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / rust-2018 / local-path-suggestions-2018.stderr
index 2293f4b001749cc45642dad5ae6fd1c840edd75d..40f3d6bf1cf1e7c1f1363db68320224bf3698ea1 100644 (file)
@@ -1,23 +1,17 @@
 error[E0432]: unresolved import `foo`
-  --> $DIR/local-path-suggestions-2018.rs:20:9
+  --> $DIR/local-path-suggestions-2018.rs:10:9
    |
 LL |     use foo::Bar;
-   |         ^^^ Did you mean `crate::foo`?
+   |         ^^^ help: a similar path exists: `crate::foo`
    |
    = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>
 
-error[E0432]: unresolved import `foo`
-  --> $DIR/local-path-suggestions-2018.rs:27:5
-   |
-LL | use foo::Bar;
-   |     ^^^ Did you mean `self::foo`?
-
 error[E0432]: unresolved import `foobar`
-  --> $DIR/local-path-suggestions-2018.rs:29:5
+  --> $DIR/local-path-suggestions-2018.rs:19:5
    |
 LL | use foobar::Baz;
-   |     ^^^^^^ Did you mean `baz::foobar`?
+   |     ^^^^^^ help: a similar path exists: `baz::foobar`
 
-error: aborting due to 3 previous errors
+error: aborting due to 2 previous errors
 
 For more information about this error, try `rustc --explain E0432`.