1 error[E0364]: `f1` is only public within the crate, and cannot be re-exported outside
2 --> $DIR/crate-private-reexport.rs:8:13
7 note: consider marking `f1` as `pub` in the imported module
8 --> $DIR/crate-private-reexport.rs:8:13
13 error[E0365]: `S1` is only public within the crate, and cannot be re-exported outside
14 --> $DIR/crate-private-reexport.rs:9:13
17 | ^^^^ re-export of crate public `S1`
19 = note: consider declaring type or module `S1` with `pub`
21 error[E0365]: `E1` is only public within the crate, and cannot be re-exported outside
22 --> $DIR/crate-private-reexport.rs:10:13
25 | ^^^^ re-export of crate public `E1`
27 = note: consider declaring type or module `E1` with `pub`
29 error[E0364]: `V` is only public within the crate, and cannot be re-exported outside
30 --> $DIR/crate-private-reexport.rs:11:13
35 note: consider marking `V` as `pub` in the imported module
36 --> $DIR/crate-private-reexport.rs:11:13
41 error[E0364]: `f2` is only public within the crate, and cannot be re-exported outside
42 --> $DIR/crate-private-reexport.rs:23:13
47 note: consider marking `f2` as `pub` in the imported module
48 --> $DIR/crate-private-reexport.rs:23:13
53 error[E0365]: `S2` is only public within the crate, and cannot be re-exported outside
54 --> $DIR/crate-private-reexport.rs:24:13
57 | ^^^^ re-export of crate public `S2`
59 = note: consider declaring type or module `S2` with `pub`
61 error[E0365]: `E2` is only public within the crate, and cannot be re-exported outside
62 --> $DIR/crate-private-reexport.rs:25:13
65 | ^^^^ re-export of crate public `E2`
67 = note: consider declaring type or module `E2` with `pub`
69 error[E0364]: `V` is only public within the crate, and cannot be re-exported outside
70 --> $DIR/crate-private-reexport.rs:26:13
75 note: consider marking `V` as `pub` in the imported module
76 --> $DIR/crate-private-reexport.rs:26:13
81 error[E0364]: `f3` is only public within the crate, and cannot be re-exported outside
82 --> $DIR/crate-private-reexport.rs:39:9
87 note: consider marking `f3` as `pub` in the imported module
88 --> $DIR/crate-private-reexport.rs:39:9
93 error[E0365]: `S3` is only public within the crate, and cannot be re-exported outside
94 --> $DIR/crate-private-reexport.rs:40:9
97 | ^^^^^^ re-export of crate public `S3`
99 = note: consider declaring type or module `S3` with `pub`
101 error[E0365]: `E3` is only public within the crate, and cannot be re-exported outside
102 --> $DIR/crate-private-reexport.rs:41:9
105 | ^^^^^^ re-export of crate public `E3`
107 = note: consider declaring type or module `E3` with `pub`
109 error[E0364]: `V` is only public within the crate, and cannot be re-exported outside
110 --> $DIR/crate-private-reexport.rs:42:9
112 LL | pub use m3::E3::V;
115 note: consider marking `V` as `pub` in the imported module
116 --> $DIR/crate-private-reexport.rs:42:9
118 LL | pub use m3::E3::V;
121 error[E0364]: `f4` is only public within the crate, and cannot be re-exported outside
122 --> $DIR/crate-private-reexport.rs:45:9
124 LL | pub use ::f4 as f5;
127 note: consider marking `f4` as `pub` in the imported module
128 --> $DIR/crate-private-reexport.rs:45:9
130 LL | pub use ::f4 as f5;
133 error[E0364]: `f6` is private, and cannot be re-exported
134 --> $DIR/crate-private-reexport.rs:53:13
136 LL | pub use self::m::f6;
139 note: consider marking `f6` as `pub` in the imported module
140 --> $DIR/crate-private-reexport.rs:53:13
142 LL | pub use self::m::f6;
145 error[E0364]: `f7` is only public within the crate, and cannot be re-exported outside
146 --> $DIR/crate-private-reexport.rs:54:13
148 LL | pub use self::m::f7;
151 note: consider marking `f7` as `pub` in the imported module
152 --> $DIR/crate-private-reexport.rs:54:13
154 LL | pub use self::m::f7;
157 error[E0364]: `f8` is private, and cannot be re-exported
158 --> $DIR/crate-private-reexport.rs:55:13
160 LL | pub use self::m::f8;
163 note: consider marking `f8` as `pub` in the imported module
164 --> $DIR/crate-private-reexport.rs:55:13
166 LL | pub use self::m::f8;
169 error[E0364]: `f7` is only public within the crate, and cannot be re-exported outside
170 --> $DIR/crate-private-reexport.rs:58:9
172 LL | pub use m10::m::f7;
175 note: consider marking `f7` as `pub` in the imported module
176 --> $DIR/crate-private-reexport.rs:58:9
178 LL | pub use m10::m::f7;
181 error[E0603]: function `f6` is private
182 --> $DIR/crate-private-reexport.rs:57:17
184 LL | pub use m10::m::f6;
185 | ^^ private function
187 note: the function `f6` is defined here
188 --> $DIR/crate-private-reexport.rs:49:9
190 LL | pub(super) fn f6() {}
193 error[E0603]: function `f8` is private
194 --> $DIR/crate-private-reexport.rs:59:17
196 LL | pub use m10::m::f8;
197 | ^^ private function
199 note: the function `f8` is defined here
200 --> $DIR/crate-private-reexport.rs:51:9
202 LL | pub(in crate::m10) fn f8() {}
203 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
205 error[E0603]: function `f9` is private
206 --> $DIR/crate-private-reexport.rs:64:14
208 LL | pub use m11::f9;
209 | ^^ private function
211 note: the function `f9` is defined here
212 --> $DIR/crate-private-reexport.rs:62:5
214 LL | pub(self) fn f9() {}
217 error: aborting due to 20 previous errors
219 Some errors have detailed explanations: E0364, E0365, E0603.
220 For more information about an error, try `rustc --explain E0364`.