]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rust-2018/local-path-suggestions-2018.stderr
Rollup merge of #92959 - asquared31415:test-non-fn-help, r=estebank
[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:10:9
3    |
4 LL |     use foo::Bar;
5    |         ^^^ help: a similar path exists: `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:19:5
11    |
12 LL | use foobar::Baz;
13    |     ^^^^^^ help: a similar path exists: `baz::foobar`
14
15 error: aborting due to 2 previous errors
16
17 For more information about this error, try `rustc --explain E0432`.