fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
518 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: consider importing this function instead
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`.