]> git.lizzy.rs Git - rust.git/blob - src/test/ui/glob-resolve1.stderr
Auto merge of #62748 - luca-barbieri:optimize-refcell-borrow, r=RalfJung
[rust.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();
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();
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;
25    |     ^ help: try using the enum's variant: `B::B1`
26
27 error[E0425]: cannot find value `C` in this scope
28   --> $DIR/glob-resolve1.rs:25:5
29    |
30 LL |     C;
31    |     ^ not found in this scope
32 help: possible candidate is found in another module, you can import it into scope
33    |
34 LL | use bar::C;
35    |
36
37 error[E0425]: cannot find function `import` in this scope
38   --> $DIR/glob-resolve1.rs:26:5
39    |
40 LL |     import();
41    |     ^^^^^^ not found in this scope
42
43 error[E0412]: cannot find type `A` in this scope
44   --> $DIR/glob-resolve1.rs:28:11
45    |
46 LL |     foo::<A>();
47    |           ^
48 help: an enum with a similar name exists
49    |
50 LL |     foo::<B>();
51    |           ^
52 help: possible candidate is found in another module, you can import it into scope
53    |
54 LL | use bar::A;
55    |
56
57 error[E0412]: cannot find type `C` in this scope
58   --> $DIR/glob-resolve1.rs:29:11
59    |
60 LL |     foo::<C>();
61    |           ^
62 help: an enum with a similar name exists
63    |
64 LL |     foo::<B>();
65    |           ^
66 help: possible candidate is found in another module, you can import it into scope
67    |
68 LL | use bar::C;
69    |
70
71 error[E0412]: cannot find type `D` in this scope
72   --> $DIR/glob-resolve1.rs:30:11
73    |
74 LL |     foo::<D>();
75    |           ^
76 help: an enum with a similar name exists
77    |
78 LL |     foo::<B>();
79    |           ^
80 help: possible candidate is found in another module, you can import it into scope
81    |
82 LL | use bar::D;
83    |
84
85 error: aborting due to 8 previous errors
86
87 Some errors have detailed explanations: E0412, E0423, E0425.
88 For more information about an error, try `rustc --explain E0412`.