]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0425]: cannot find function `fpriv` in this scope |
0731742a | 2 | --> $DIR/glob-resolve1.rs:22:5 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | fpriv(); |
b7449926 | 5 | | ^^^^^ not found in this scope |
e74abb32 | 6 | | |
f9f354fc | 7 | help: consider importing this function |
b7449926 XL |
8 | | |
9 | LL | use bar::fpriv; | |
10 | | | |
11 | ||
12 | error[E0425]: cannot find function `epriv` in this scope | |
0731742a | 13 | --> $DIR/glob-resolve1.rs:23:5 |
b7449926 | 14 | | |
532ac7d7 | 15 | LL | epriv(); |
b7449926 | 16 | | ^^^^^ not found in this scope |
e74abb32 | 17 | | |
f9f354fc | 18 | help: consider importing this function |
b7449926 XL |
19 | | |
20 | LL | use bar::epriv; | |
21 | | | |
22 | ||
23 | error[E0423]: expected value, found enum `B` | |
0731742a | 24 | --> $DIR/glob-resolve1.rs:24:5 |
b7449926 | 25 | | |
532ac7d7 XL |
26 | LL | B; |
27 | | ^ help: try using the enum's variant: `B::B1` | |
b7449926 XL |
28 | |
29 | error[E0425]: cannot find value `C` in this scope | |
0731742a | 30 | --> $DIR/glob-resolve1.rs:25:5 |
b7449926 | 31 | | |
532ac7d7 | 32 | LL | C; |
b7449926 | 33 | | ^ not found in this scope |
e74abb32 | 34 | | |
f9f354fc | 35 | help: consider importing this unit struct |
b7449926 XL |
36 | | |
37 | LL | use bar::C; | |
38 | | | |
39 | ||
40 | error[E0425]: cannot find function `import` in this scope | |
0731742a | 41 | --> $DIR/glob-resolve1.rs:26:5 |
b7449926 | 42 | | |
532ac7d7 | 43 | LL | import(); |
b7449926 XL |
44 | | ^^^^^^ not found in this scope |
45 | ||
46 | error[E0412]: cannot find type `A` in this scope | |
0731742a | 47 | --> $DIR/glob-resolve1.rs:28:11 |
b7449926 | 48 | | |
e74abb32 | 49 | LL | pub enum B { B1 } |
ba9703b0 | 50 | | ---------- similarly named enum `B` defined here |
e74abb32 | 51 | ... |
532ac7d7 | 52 | LL | foo::<A>(); |
0731742a | 53 | | ^ |
e74abb32 | 54 | | |
0731742a XL |
55 | help: an enum with a similar name exists |
56 | | | |
532ac7d7 | 57 | LL | foo::<B>(); |
0731742a | 58 | | ^ |
f9f354fc | 59 | help: consider importing this enum |
b7449926 XL |
60 | | |
61 | LL | use bar::A; | |
62 | | | |
63 | ||
64 | error[E0412]: cannot find type `C` in this scope | |
0731742a | 65 | --> $DIR/glob-resolve1.rs:29:11 |
b7449926 | 66 | | |
e74abb32 | 67 | LL | pub enum B { B1 } |
ba9703b0 | 68 | | ---------- similarly named enum `B` defined here |
e74abb32 | 69 | ... |
532ac7d7 | 70 | LL | foo::<C>(); |
0731742a | 71 | | ^ |
e74abb32 | 72 | | |
0731742a XL |
73 | help: an enum with a similar name exists |
74 | | | |
532ac7d7 | 75 | LL | foo::<B>(); |
0731742a | 76 | | ^ |
f9f354fc | 77 | help: consider importing this struct |
b7449926 XL |
78 | | |
79 | LL | use bar::C; | |
80 | | | |
81 | ||
82 | error[E0412]: cannot find type `D` in this scope | |
0731742a | 83 | --> $DIR/glob-resolve1.rs:30:11 |
b7449926 | 84 | | |
e74abb32 | 85 | LL | pub enum B { B1 } |
ba9703b0 | 86 | | ---------- similarly named enum `B` defined here |
e74abb32 | 87 | ... |
532ac7d7 | 88 | LL | foo::<D>(); |
0731742a | 89 | | ^ |
e74abb32 | 90 | | |
0731742a XL |
91 | help: an enum with a similar name exists |
92 | | | |
532ac7d7 | 93 | LL | foo::<B>(); |
0731742a | 94 | | ^ |
f9f354fc | 95 | help: consider importing this type alias |
b7449926 XL |
96 | | |
97 | LL | use bar::D; | |
98 | | | |
99 | ||
100 | error: aborting due to 8 previous errors | |
101 | ||
48663c56 | 102 | Some errors have detailed explanations: E0412, E0423, E0425. |
b7449926 | 103 | For more information about an error, try `rustc --explain E0412`. |