]>
Commit | Line | Data |
---|---|---|
8faf50e0 | 1 | error[E0432]: unresolved import `foo::f` |
0731742a | 2 | --> $DIR/issue-38293.rs:6:14 |
8faf50e0 | 3 | | |
532ac7d7 | 4 | LL | use foo::f::{self}; |
8faf50e0 XL |
5 | | ^^^^ no `f` in `foo` |
6 | ||
7 | error[E0423]: expected function, found module `baz` | |
0731742a | 8 | --> $DIR/issue-38293.rs:15:5 |
8faf50e0 | 9 | | |
532ac7d7 | 10 | LL | baz(); |
8faf50e0 | 11 | | ^^^ not a function |
e74abb32 | 12 | | |
f9f354fc | 13 | help: consider importing this function instead |
8faf50e0 XL |
14 | | |
15 | LL | use bar::baz; | |
16 | | | |
17 | ||
18 | error: aborting due to 2 previous errors | |
19 | ||
48663c56 | 20 | Some errors have detailed explanations: E0423, E0432. |
8faf50e0 | 21 | For more information about an error, try `rustc --explain E0423`. |