]> git.lizzy.rs Git - rust.git/blob - src/test/ui/glob-resolve1.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / glob-resolve1.stderr
1 error[E0425]: cannot find function `fpriv` in this scope
2   --> $DIR/glob-resolve1.rs:32: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:33: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:34: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:35: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:36: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:38:11
48    |
49 LL |     foo::<A>(); //~ ERROR: cannot find type `A` in this scope
50    |           ^ did you mean `B`?
51 help: possible candidate is found in another module, you can import it into scope
52    |
53 LL | use bar::A;
54    |
55
56 error[E0412]: cannot find type `C` in this scope
57   --> $DIR/glob-resolve1.rs:39:11
58    |
59 LL |     foo::<C>(); //~ ERROR: cannot find type `C` in this scope
60    |           ^ did you mean `B`?
61 help: possible candidate is found in another module, you can import it into scope
62    |
63 LL | use bar::C;
64    |
65
66 error[E0412]: cannot find type `D` in this scope
67   --> $DIR/glob-resolve1.rs:40:11
68    |
69 LL |     foo::<D>(); //~ ERROR: cannot find type `D` in this scope
70    |           ^ did you mean `B`?
71 help: possible candidate is found in another module, you can import it into scope
72    |
73 LL | use bar::D;
74    |
75
76 error: aborting due to 8 previous errors
77
78 Some errors occurred: E0412, E0423, E0425.
79 For more information about an error, try `rustc --explain E0412`.