fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
555 B20 linesraw
1error[E0432]: unresolved import `foo::f`
2  --> $DIR/issue-38293.rs:6:14
3   |
4LL | use foo::f::{self};
5   |              ^^^^ no `f` in `foo`
6
7error[E0423]: expected function, found module `baz`
8  --> $DIR/issue-38293.rs:15:5
9   |
10LL |     baz();
11   |     ^^^ not a function
12help: possible better candidate is found in another module, you can import it into scope
13   |
14LL | use bar::baz;
15   |
16
17error: aborting due to 2 previous errors
18
19Some errors have detailed explanations: E0423, E0432.
20For more information about an error, try `rustc --explain E0423`.