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