rust/tests/ui/rust-2018/local-path-suggestions-2018.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
610 B
Plaintext
Raw Normal View History

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