blob: cab0e2e3fb782769d70c1bd5b05b8b02015bfbcd (
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[E0365]: `__DefaultProjection` is private, and cannot be re-exported
--> $DIR/visibility.rs:12:13
|
12 | pub use crate::pub_::__DefaultProjection; //~ ERROR E0365
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ re-export of private `__DefaultProjection`
|
= note: consider declaring type or module `__DefaultProjection` with `pub`
error[E0365]: `__DefaultProjectionRef` is private, and cannot be re-exported
--> $DIR/visibility.rs:14:13
|
14 | pub use crate::pub_::__DefaultProjectionRef; //~ ERROR E0365
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ re-export of private `__DefaultProjectionRef`
|
= note: consider declaring type or module `__DefaultProjectionRef` with `pub`
error[E0365]: `__ReplaceProjection` is private, and cannot be re-exported
--> $DIR/visibility.rs:16:13
|
16 | pub use crate::pub_::__ReplaceProjection; //~ ERROR E0365
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ re-export of private `__ReplaceProjection`
|
= note: consider declaring type or module `__ReplaceProjection` with `pub`
error[E0365]: `__ReplaceProjectionOwned` is private, and cannot be re-exported
--> $DIR/visibility.rs:18:13
|
18 | pub use crate::pub_::__ReplaceProjectionOwned; //~ ERROR E0365
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ re-export of private `__ReplaceProjectionOwned`
|
= note: consider declaring type or module `__ReplaceProjectionOwned` with `pub`
error[E0365]: `__ReplaceProjectionRef` is private, and cannot be re-exported
--> $DIR/visibility.rs:20:13
|
20 | pub use crate::pub_::__ReplaceProjectionRef; //~ ERROR E0365
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ re-export of private `__ReplaceProjectionRef`
|
= note: consider declaring type or module `__ReplaceProjectionRef` with `pub`
error[E0365]: `DProj` is private, and cannot be re-exported
--> $DIR/visibility.rs:63:13
|
63 | pub use crate::pub_renamed::DProj; //~ ERROR E0365
| ^^^^^^^^^^^^^^^^^^^^^^^^^ re-export of private `DProj`
|
= note: consider declaring type or module `DProj` with `pub`
error[E0365]: `DProjRef` is private, and cannot be re-exported
--> $DIR/visibility.rs:65:13
|
65 | pub use crate::pub_renamed::DProjRef; //~ ERROR E0365
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ re-export of private `DProjRef`
|
= note: consider declaring type or module `DProjRef` with `pub`
error[E0365]: `RProj` is private, and cannot be re-exported
--> $DIR/visibility.rs:67:13
|
67 | pub use crate::pub_renamed::RProj; //~ ERROR E0365
| ^^^^^^^^^^^^^^^^^^^^^^^^^ re-export of private `RProj`
|
= note: consider declaring type or module `RProj` with `pub`
error[E0365]: `RProjOwn` is private, and cannot be re-exported
--> $DIR/visibility.rs:69:13
|
69 | pub use crate::pub_renamed::RProjOwn; //~ ERROR E0365
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ re-export of private `RProjOwn`
|
= note: consider declaring type or module `RProjOwn` with `pub`
error[E0365]: `RProjRef` is private, and cannot be re-exported
--> $DIR/visibility.rs:71:13
|
71 | pub use crate::pub_renamed::RProjRef; //~ ERROR E0365
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ re-export of private `RProjRef`
|
= note: consider declaring type or module `RProjRef` with `pub`
|