fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
560 B21 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
12   |
13help: possible better candidate is found in another module, you can import it into scope
14   |
15LL | use bar::baz;
16   |
17
18error: aborting due to 2 previous errors
19
20Some errors have detailed explanations: E0423, E0432.
21For more information about an error, try `rustc --explain E0423`.