2018-09-20 15:15:52 +00:00
|
|
|
error[E0432]: unresolved import `foo`
|
2018-09-28 09:32:04 +00:00
|
|
|
--> $DIR/local-path-suggestions-2018.rs:20:9
|
2018-09-20 15:15:52 +00:00
|
|
|
|
|
|
|
|
LL | use foo::Bar;
|
|
|
|
| ^^^ Did you mean `crate::foo`?
|
2018-10-18 17:09:49 +00:00
|
|
|
|
|
|
|
|
= note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>
|
2018-09-20 15:15:52 +00:00
|
|
|
|
|
|
|
error[E0432]: unresolved import `foo`
|
2018-09-28 09:32:04 +00:00
|
|
|
--> $DIR/local-path-suggestions-2018.rs:27:5
|
2018-09-20 15:15:52 +00:00
|
|
|
|
|
|
|
|
LL | use foo::Bar;
|
|
|
|
| ^^^ Did you mean `self::foo`?
|
|
|
|
|
|
|
|
error[E0432]: unresolved import `foobar`
|
2018-09-28 09:32:04 +00:00
|
|
|
--> $DIR/local-path-suggestions-2018.rs:29:5
|
2018-09-20 15:15:52 +00:00
|
|
|
|
|
|
|
|
LL | use foobar::Baz;
|
|
|
|
| ^^^^^^ Did you mean `baz::foobar`?
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0432`.
|