]>
Commit | Line | Data |
---|---|---|
b7449926 XL |
1 | error: type `for<'r> fn(&'r priv_trait::Pub) {<priv_trait::Pub as priv_trait::PrivTr>::method}` is private |
2 | --> $DIR/associated-item-privacy-trait.rs:27:21 | |
3 | | | |
4 | LL | let value = <Pub as PrivTr>::method; | |
5 | | ^^^^^^^^^^^^^^^^^^^^^^^ | |
6 | ... | |
7 | LL | priv_trait::mac!(); | |
8 | | ------------------- in this macro invocation | |
9 | ||
10 | error: type `for<'r> fn(&'r priv_trait::Pub) {<priv_trait::Pub as priv_trait::PrivTr>::method}` is private | |
11 | --> $DIR/associated-item-privacy-trait.rs:29:9 | |
12 | | | |
13 | LL | value; | |
14 | | ^^^^^ | |
15 | ... | |
16 | LL | priv_trait::mac!(); | |
17 | | ------------------- in this macro invocation | |
18 | ||
19 | error: type `for<'r> fn(&'r Self) {<Self as priv_trait::PrivTr>::method}` is private | |
20 | --> $DIR/associated-item-privacy-trait.rs:31:13 | |
21 | | | |
22 | LL | Pub.method(); | |
23 | | ^^^^^^ | |
24 | ... | |
25 | LL | priv_trait::mac!(); | |
26 | | ------------------- in this macro invocation | |
27 | ||
28 | error: associated constant `PrivTr::CONST` is private | |
29 | --> $DIR/associated-item-privacy-trait.rs:33:9 | |
30 | | | |
31 | LL | <Pub as PrivTr>::CONST; | |
32 | | ^^^^^^^^^^^^^^^^^^^^^^ | |
33 | ... | |
34 | LL | priv_trait::mac!(); | |
35 | | ------------------- in this macro invocation | |
36 | ||
37 | error: trait `priv_trait::PrivTr` is private | |
38 | --> $DIR/associated-item-privacy-trait.rs:35:13 | |
39 | | | |
40 | LL | let _: <Pub as PrivTr>::AssocTy; | |
41 | | ^ | |
42 | ... | |
43 | LL | priv_trait::mac!(); | |
44 | | ------------------- in this macro invocation | |
45 | ||
46 | error: trait `priv_trait::PrivTr` is private | |
47 | --> $DIR/associated-item-privacy-trait.rs:35:16 | |
48 | | | |
49 | LL | let _: <Pub as PrivTr>::AssocTy; | |
50 | | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
51 | ... | |
52 | LL | priv_trait::mac!(); | |
53 | | ------------------- in this macro invocation | |
54 | ||
55 | error: trait `priv_trait::PrivTr` is private | |
56 | --> $DIR/associated-item-privacy-trait.rs:38:34 | |
57 | | | |
58 | LL | pub type InSignatureTy = <Pub as PrivTr>::AssocTy; | |
59 | | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
60 | ... | |
61 | LL | priv_trait::mac!(); | |
62 | | ------------------- in this macro invocation | |
63 | ||
64 | error: trait `priv_trait::PrivTr` is private | |
65 | --> $DIR/associated-item-privacy-trait.rs:40:34 | |
66 | | | |
67 | LL | pub trait InSignatureTr: PrivTr {} | |
68 | | ^^^^^^ | |
69 | ... | |
70 | LL | priv_trait::mac!(); | |
71 | | ------------------- in this macro invocation | |
72 | ||
73 | error: trait `priv_trait::PrivTr` is private | |
74 | --> $DIR/associated-item-privacy-trait.rs:42:14 | |
75 | | | |
76 | LL | impl PrivTr for u8 {} | |
77 | | ^^^^^^ | |
78 | ... | |
79 | LL | priv_trait::mac!(); | |
80 | | ------------------- in this macro invocation | |
81 | ||
82 | error: type `priv_signature::Priv` is private | |
83 | --> $DIR/associated-item-privacy-trait.rs:59:21 | |
84 | | | |
85 | LL | let value = <Pub as PubTr>::method; | |
86 | | ^^^^^^^^^^^^^^^^^^^^^^ | |
87 | ... | |
88 | LL | priv_signature::mac!(); | |
89 | | ----------------------- in this macro invocation | |
90 | ||
91 | error: type `priv_signature::Priv` is private | |
92 | --> $DIR/associated-item-privacy-trait.rs:61:9 | |
93 | | | |
94 | LL | value; | |
95 | | ^^^^^ | |
96 | ... | |
97 | LL | priv_signature::mac!(); | |
98 | | ----------------------- in this macro invocation | |
99 | ||
100 | error: type `priv_signature::Priv` is private | |
101 | --> $DIR/associated-item-privacy-trait.rs:63:13 | |
102 | | | |
103 | LL | Pub.method(loop {}); | |
104 | | ^^^^^^ | |
105 | ... | |
106 | LL | priv_signature::mac!(); | |
107 | | ----------------------- in this macro invocation | |
108 | ||
109 | error: type `priv_substs::Priv` is private | |
110 | --> $DIR/associated-item-privacy-trait.rs:80:21 | |
111 | | | |
112 | LL | let value = <Pub as PubTr>::method::<Priv>; | |
113 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
114 | ... | |
115 | LL | priv_substs::mac!(); | |
116 | | -------------------- in this macro invocation | |
117 | ||
118 | error: type `priv_substs::Priv` is private | |
119 | --> $DIR/associated-item-privacy-trait.rs:82:9 | |
120 | | | |
121 | LL | value; | |
122 | | ^^^^^ | |
123 | ... | |
124 | LL | priv_substs::mac!(); | |
125 | | -------------------- in this macro invocation | |
126 | ||
127 | error: type `priv_substs::Priv` is private | |
128 | --> $DIR/associated-item-privacy-trait.rs:84:9 | |
129 | | | |
130 | LL | Pub.method::<Priv>(); | |
131 | | ^^^^^^^^^^^^^^^^^^^^ | |
132 | ... | |
133 | LL | priv_substs::mac!(); | |
134 | | -------------------- in this macro invocation | |
135 | ||
136 | error: type `priv_parent_substs::Priv` is private | |
137 | --> $DIR/associated-item-privacy-trait.rs:104:21 | |
138 | | | |
139 | LL | let value = <Pub as PubTr>::method; | |
140 | | ^^^^^^^^^^^^^^^^^^^^^^ | |
141 | ... | |
142 | LL | priv_parent_substs::mac!(); | |
143 | | --------------------------- in this macro invocation | |
144 | ||
145 | error: type `priv_parent_substs::Priv` is private | |
146 | --> $DIR/associated-item-privacy-trait.rs:106:9 | |
147 | | | |
148 | LL | value; | |
149 | | ^^^^^ | |
150 | ... | |
151 | LL | priv_parent_substs::mac!(); | |
152 | | --------------------------- in this macro invocation | |
153 | ||
154 | error: type `priv_parent_substs::Priv` is private | |
155 | --> $DIR/associated-item-privacy-trait.rs:108:21 | |
156 | | | |
157 | LL | let value = <Pub as PubTr<_>>::method; | |
158 | | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
159 | ... | |
160 | LL | priv_parent_substs::mac!(); | |
161 | | --------------------------- in this macro invocation | |
162 | ||
163 | error: type `priv_parent_substs::Priv` is private | |
164 | --> $DIR/associated-item-privacy-trait.rs:110:9 | |
165 | | | |
166 | LL | value; | |
167 | | ^^^^^ | |
168 | ... | |
169 | LL | priv_parent_substs::mac!(); | |
170 | | --------------------------- in this macro invocation | |
171 | ||
172 | error: type `priv_parent_substs::Priv` is private | |
173 | --> $DIR/associated-item-privacy-trait.rs:112:9 | |
174 | | | |
175 | LL | Pub.method(); | |
176 | | ^^^^^^^^^^^^ | |
177 | ... | |
178 | LL | priv_parent_substs::mac!(); | |
179 | | --------------------------- in this macro invocation | |
180 | ||
181 | error: type `priv_parent_substs::Priv` is private | |
182 | --> $DIR/associated-item-privacy-trait.rs:115:21 | |
183 | | | |
184 | LL | let value = <Priv as PubTr<_>>::method; | |
185 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
186 | ... | |
187 | LL | priv_parent_substs::mac!(); | |
188 | | --------------------------- in this macro invocation | |
189 | ||
190 | error: type `priv_parent_substs::Priv` is private | |
191 | --> $DIR/associated-item-privacy-trait.rs:117:9 | |
192 | | | |
193 | LL | value; | |
194 | | ^^^^^ | |
195 | ... | |
196 | LL | priv_parent_substs::mac!(); | |
197 | | --------------------------- in this macro invocation | |
198 | ||
199 | error: type `priv_parent_substs::Priv` is private | |
200 | --> $DIR/associated-item-privacy-trait.rs:119:9 | |
201 | | | |
202 | LL | Priv.method(); | |
203 | | ^^^^^^^^^^^^^ | |
204 | ... | |
205 | LL | priv_parent_substs::mac!(); | |
206 | | --------------------------- in this macro invocation | |
207 | ||
208 | error: type `priv_parent_substs::Priv` is private | |
209 | --> $DIR/associated-item-privacy-trait.rs:122:9 | |
210 | | | |
211 | LL | <Pub as PubTr>::CONST; | |
212 | | ^^^^^^^^^^^^^^^^^^^^^ | |
213 | ... | |
214 | LL | priv_parent_substs::mac!(); | |
215 | | --------------------------- in this macro invocation | |
216 | ||
217 | error: type `priv_parent_substs::Priv` is private | |
218 | --> $DIR/associated-item-privacy-trait.rs:124:9 | |
219 | | | |
220 | LL | <Pub as PubTr<_>>::CONST; | |
221 | | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
222 | ... | |
223 | LL | priv_parent_substs::mac!(); | |
224 | | --------------------------- in this macro invocation | |
225 | ||
226 | error: type `priv_parent_substs::Priv` is private | |
227 | --> $DIR/associated-item-privacy-trait.rs:126:9 | |
228 | | | |
229 | LL | <Priv as PubTr<_>>::CONST; | |
230 | | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
231 | ... | |
232 | LL | priv_parent_substs::mac!(); | |
233 | | --------------------------- in this macro invocation | |
234 | ||
235 | error: type `priv_parent_substs::Priv` is private | |
236 | --> $DIR/associated-item-privacy-trait.rs:129:13 | |
237 | | | |
238 | LL | let _: <Pub as PubTr>::AssocTy; | |
239 | | ^ | |
240 | ... | |
241 | LL | priv_parent_substs::mac!(); | |
242 | | --------------------------- in this macro invocation | |
243 | ||
244 | error: type `priv_parent_substs::Priv` is private | |
245 | --> $DIR/associated-item-privacy-trait.rs:129:16 | |
246 | | | |
247 | LL | let _: <Pub as PubTr>::AssocTy; | |
248 | | ^^^^^^^^^^^^^^^^^^^^^^^ | |
249 | ... | |
250 | LL | priv_parent_substs::mac!(); | |
251 | | --------------------------- in this macro invocation | |
252 | ||
253 | error: type `priv_parent_substs::Priv` is private | |
254 | --> $DIR/associated-item-privacy-trait.rs:132:13 | |
255 | | | |
256 | LL | let _: <Pub as PubTr<_>>::AssocTy; | |
257 | | ^ | |
258 | ... | |
259 | LL | priv_parent_substs::mac!(); | |
260 | | --------------------------- in this macro invocation | |
261 | ||
262 | error: type `priv_parent_substs::Priv` is private | |
263 | --> $DIR/associated-item-privacy-trait.rs:132:16 | |
264 | | | |
265 | LL | let _: <Pub as PubTr<_>>::AssocTy; | |
266 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
267 | ... | |
268 | LL | priv_parent_substs::mac!(); | |
269 | | --------------------------- in this macro invocation | |
270 | ||
271 | error: type `priv_parent_substs::Priv` is private | |
272 | --> $DIR/associated-item-privacy-trait.rs:135:13 | |
273 | | | |
274 | LL | let _: <Priv as PubTr<_>>::AssocTy; | |
275 | | ^ | |
276 | ... | |
277 | LL | priv_parent_substs::mac!(); | |
278 | | --------------------------- in this macro invocation | |
279 | ||
280 | error: type `priv_parent_substs::Priv` is private | |
281 | --> $DIR/associated-item-privacy-trait.rs:135:16 | |
282 | | | |
283 | LL | let _: <Priv as PubTr<_>>::AssocTy; | |
284 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
285 | ... | |
286 | LL | priv_parent_substs::mac!(); | |
287 | | --------------------------- in this macro invocation | |
288 | ||
289 | error: type `priv_parent_substs::Priv` is private | |
290 | --> $DIR/associated-item-privacy-trait.rs:139:35 | |
291 | | | |
292 | LL | pub type InSignatureTy1 = <Pub as PubTr>::AssocTy; | |
293 | | ^^^^^^^^^^^^^^^^^^^^^^^ | |
294 | ... | |
295 | LL | priv_parent_substs::mac!(); | |
296 | | --------------------------- in this macro invocation | |
297 | ||
298 | error: type `priv_parent_substs::Priv` is private | |
299 | --> $DIR/associated-item-privacy-trait.rs:141:35 | |
300 | | | |
301 | LL | pub type InSignatureTy2 = <Priv as PubTr<Pub>>::AssocTy; | |
302 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
303 | ... | |
304 | LL | priv_parent_substs::mac!(); | |
305 | | --------------------------- in this macro invocation | |
306 | ||
307 | error: type `priv_parent_substs::Priv` is private | |
308 | --> $DIR/associated-item-privacy-trait.rs:143:14 | |
309 | | | |
310 | LL | impl PubTr for u8 {} | |
311 | | ^^^^^ | |
312 | ... | |
313 | LL | priv_parent_substs::mac!(); | |
314 | | --------------------------- in this macro invocation | |
315 | ||
316 | error: aborting due to 35 previous errors | |
317 |