]>
Commit | Line | Data |
---|---|---|
48663c56 | 1 | error[E0432]: unresolved import `qux::bar` |
e1599b0c | 2 | --> $DIR/unresolved-imports-used.rs:10:5 |
48663c56 XL |
3 | | |
4 | LL | use qux::bar; | |
5 | | ^^^^^^^^ no `bar` in `qux` | |
6 | ||
e1599b0c XL |
7 | error[E0432]: unresolved import `qux::bar2` |
8 | --> $DIR/unresolved-imports-used.rs:13:5 | |
9 | | | |
10 | LL | use qux::bar2; | |
11 | | ^^^^^^^^^ no `bar2` in `qux` | |
12 | ||
48663c56 | 13 | error[E0432]: unresolved import `foo` |
e1599b0c | 14 | --> $DIR/unresolved-imports-used.rs:11:5 |
48663c56 XL |
15 | | |
16 | LL | use foo::bar; | |
416331ca | 17 | | ^^^ maybe a missing crate `foo`? |
48663c56 | 18 | |
e1599b0c XL |
19 | error[E0432]: unresolved import `baz` |
20 | --> $DIR/unresolved-imports-used.rs:12:5 | |
21 | | | |
22 | LL | use baz::*; | |
23 | | ^^^ maybe a missing crate `baz`? | |
24 | ||
25 | error[E0432]: unresolved import `foo2` | |
26 | --> $DIR/unresolved-imports-used.rs:14:5 | |
27 | | | |
28 | LL | use foo2::bar2; | |
29 | | ^^^^ maybe a missing crate `foo2`? | |
30 | ||
31 | error[E0432]: unresolved import `baz2` | |
32 | --> $DIR/unresolved-imports-used.rs:15:5 | |
33 | | | |
34 | LL | use baz2::*; | |
35 | | ^^^^ maybe a missing crate `baz2`? | |
36 | ||
48663c56 | 37 | error[E0603]: function `quz` is private |
e1599b0c | 38 | --> $DIR/unresolved-imports-used.rs:9:10 |
48663c56 XL |
39 | | |
40 | LL | use qux::quz; | |
dfeec247 XL |
41 | | ^^^ this function is private |
42 | | | |
43 | note: the function `quz` is defined here | |
44 | --> $DIR/unresolved-imports-used.rs:5:4 | |
45 | | | |
46 | LL | fn quz() {} | |
47 | | ^^^^^^^^ | |
48663c56 | 48 | |
e1599b0c XL |
49 | error: unused import: `qux::quy` |
50 | --> $DIR/unresolved-imports-used.rs:16:5 | |
51 | | | |
52 | LL | use qux::quy; | |
53 | | ^^^^^^^^ | |
54 | | | |
55 | note: lint level defined here | |
56 | --> $DIR/unresolved-imports-used.rs:2:9 | |
57 | | | |
58 | LL | #![deny(unused_imports)] | |
59 | | ^^^^^^^^^^^^^^ | |
60 | ||
61 | error: aborting due to 8 previous errors | |
48663c56 XL |
62 | |
63 | Some errors have detailed explanations: E0432, E0603. | |
64 | For more information about an error, try `rustc --explain E0432`. |