]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rust-2018/local-path-suggestions-2018.stderr
Rollup merge of #55784 - meltinglava:master, r=KodrAus
[rust.git] / src / test / ui / rust-2018 / local-path-suggestions-2018.stderr
1 error[E0432]: unresolved import `foo`
2   --> $DIR/local-path-suggestions-2018.rs:22:9
3    |
4 LL |     use foo::Bar; //~ ERROR unresolved import `foo`
5    |         ^^^ did you mean `crate::foo`?
6    |
7    = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>
8
9 error[E0432]: unresolved import `foobar`
10   --> $DIR/local-path-suggestions-2018.rs:31:5
11    |
12 LL | use foobar::Baz; //~ ERROR unresolved import `foobar`
13    |     ^^^^^^ did you mean `baz::foobar`?
14
15 error: aborting due to 2 previous errors
16
17 For more information about this error, try `rustc --explain E0432`.