fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
610 B17 linesraw
1error[E0432]: unresolved import `foo`
2  --> $DIR/local-path-suggestions-2018.rs:10:9
3   |
4LL |     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
9error[E0432]: unresolved import `foobar`
10  --> $DIR/local-path-suggestions-2018.rs:19:5
11   |
12LL | use foobar::Baz;
13   |     ^^^^^^ help: a similar path exists: `baz::foobar`
14
15error: aborting due to 2 previous errors
16
17For more information about this error, try `rustc --explain E0432`.