2018-09-20 15:15:52 +00:00
|
|
|
error[E0432]: unresolved import `foo`
|
2018-12-27 00:38:43 +00:00
|
|
|
--> $DIR/local-path-suggestions-2018.rs:10:9
|
2018-09-20 15:15:52 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | use foo::Bar;
|
2019-01-16 20:30:41 +00:00
|
|
|
| ^^^ help: a similar path exists: `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 `foobar`
|
2018-12-27 00:38:43 +00:00
|
|
|
--> $DIR/local-path-suggestions-2018.rs:19:5
|
2018-09-20 15:15:52 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | use foobar::Baz;
|
2019-01-16 20:30:41 +00:00
|
|
|
| ^^^^^^ help: a similar path exists: `baz::foobar`
|
2018-09-20 15:15:52 +00:00
|
|
|
|
2018-11-11 14:35:23 +00:00
|
|
|
error: aborting due to 2 previous errors
|
2018-09-20 15:15:52 +00:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0432`.
|