blob: 650dd2c3b19e38f19d2c73c73a5d7202beddd5d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
error[E0425]: cannot find function `fpriv` in this scope
--> $DIR/glob-resolve1.rs:32:5
|
LL | fpriv(); //~ ERROR cannot find function `fpriv` in this scope
| ^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
LL | use bar::fpriv;
|
error[E0425]: cannot find function `epriv` in this scope
--> $DIR/glob-resolve1.rs:33:5
|
LL | epriv(); //~ ERROR cannot find function `epriv` in this scope
| ^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
LL | use bar::epriv;
|
error[E0423]: expected value, found enum `B`
--> $DIR/glob-resolve1.rs:34:5
|
LL | B; //~ ERROR expected value, found enum `B`
| ^
|
= note: did you mean to use one of the following variants?
- `B::B1`
error[E0425]: cannot find value `C` in this scope
--> $DIR/glob-resolve1.rs:35:5
|
LL | C; //~ ERROR cannot find value `C` in this scope
| ^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
LL | use bar::C;
|
error[E0425]: cannot find function `import` in this scope
--> $DIR/glob-resolve1.rs:36:5
|
LL | import(); //~ ERROR: cannot find function `import` in this scope
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `A` in this scope
--> $DIR/glob-resolve1.rs:38:11
|
LL | foo::<A>(); //~ ERROR: cannot find type `A` in this scope
| ^ did you mean `B`?
help: possible candidate is found in another module, you can import it into scope
|
LL | use bar::A;
|
error[E0412]: cannot find type `C` in this scope
--> $DIR/glob-resolve1.rs:39:11
|
LL | foo::<C>(); //~ ERROR: cannot find type `C` in this scope
| ^ did you mean `B`?
help: possible candidate is found in another module, you can import it into scope
|
LL | use bar::C;
|
error[E0412]: cannot find type `D` in this scope
--> $DIR/glob-resolve1.rs:40:11
|
LL | foo::<D>(); //~ ERROR: cannot find type `D` in this scope
| ^ did you mean `B`?
help: possible candidate is found in another module, you can import it into scope
|
LL | use bar::D;
|
error: aborting due to 8 previous errors
Some errors occurred: E0412, E0423, E0425.
For more information about an error, try `rustc --explain E0412`.
|