]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0603]: tuple struct `A` is private |
0731742a | 2 | --> $DIR/privacy5.rs:51:16 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | let a = a::A(()); |
0bf4aa26 | 5 | | ^ |
416331ca XL |
6 | | |
7 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
8 | |
9 | error[E0603]: tuple struct `B` is private | |
0731742a | 10 | --> $DIR/privacy5.rs:52:16 |
b7449926 | 11 | | |
532ac7d7 | 12 | LL | let b = a::B(2); |
0bf4aa26 | 13 | | ^ |
416331ca XL |
14 | | |
15 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
16 | |
17 | error[E0603]: tuple struct `C` is private | |
0731742a | 18 | --> $DIR/privacy5.rs:53:16 |
b7449926 | 19 | | |
532ac7d7 | 20 | LL | let c = a::C(2, 3); |
0bf4aa26 | 21 | | ^ |
416331ca XL |
22 | | |
23 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
24 | |
25 | error[E0603]: tuple struct `A` is private | |
0731742a | 26 | --> $DIR/privacy5.rs:56:12 |
b7449926 | 27 | | |
532ac7d7 | 28 | LL | let a::A(()) = a; |
0bf4aa26 | 29 | | ^ |
416331ca XL |
30 | | |
31 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
32 | |
33 | error[E0603]: tuple struct `A` is private | |
0731742a | 34 | --> $DIR/privacy5.rs:57:12 |
b7449926 | 35 | | |
532ac7d7 | 36 | LL | let a::A(_) = a; |
0bf4aa26 | 37 | | ^ |
416331ca XL |
38 | | |
39 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
40 | |
41 | error[E0603]: tuple struct `A` is private | |
0731742a | 42 | --> $DIR/privacy5.rs:58:18 |
b7449926 | 43 | | |
532ac7d7 | 44 | LL | match a { a::A(()) => {} } |
0bf4aa26 | 45 | | ^ |
416331ca XL |
46 | | |
47 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
48 | |
49 | error[E0603]: tuple struct `A` is private | |
0731742a | 50 | --> $DIR/privacy5.rs:59:18 |
b7449926 | 51 | | |
532ac7d7 | 52 | LL | match a { a::A(_) => {} } |
0bf4aa26 | 53 | | ^ |
416331ca XL |
54 | | |
55 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
56 | |
57 | error[E0603]: tuple struct `B` is private | |
0731742a | 58 | --> $DIR/privacy5.rs:61:12 |
b7449926 | 59 | | |
532ac7d7 | 60 | LL | let a::B(_) = b; |
0bf4aa26 | 61 | | ^ |
416331ca XL |
62 | | |
63 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
64 | |
65 | error[E0603]: tuple struct `B` is private | |
0731742a | 66 | --> $DIR/privacy5.rs:62:12 |
b7449926 | 67 | | |
532ac7d7 | 68 | LL | let a::B(_b) = b; |
0bf4aa26 | 69 | | ^ |
416331ca XL |
70 | | |
71 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
72 | |
73 | error[E0603]: tuple struct `B` is private | |
0731742a | 74 | --> $DIR/privacy5.rs:63:18 |
b7449926 | 75 | | |
532ac7d7 | 76 | LL | match b { a::B(_) => {} } |
0bf4aa26 | 77 | | ^ |
416331ca XL |
78 | | |
79 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
80 | |
81 | error[E0603]: tuple struct `B` is private | |
0731742a | 82 | --> $DIR/privacy5.rs:64:18 |
b7449926 | 83 | | |
532ac7d7 | 84 | LL | match b { a::B(_b) => {} } |
0bf4aa26 | 85 | | ^ |
416331ca XL |
86 | | |
87 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
88 | |
89 | error[E0603]: tuple struct `B` is private | |
0731742a | 90 | --> $DIR/privacy5.rs:65:18 |
b7449926 | 91 | | |
532ac7d7 | 92 | LL | match b { a::B(1) => {} a::B(_) => {} } |
0bf4aa26 | 93 | | ^ |
416331ca XL |
94 | | |
95 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
96 | |
97 | error[E0603]: tuple struct `B` is private | |
0731742a | 98 | --> $DIR/privacy5.rs:65:32 |
b7449926 | 99 | | |
532ac7d7 | 100 | LL | match b { a::B(1) => {} a::B(_) => {} } |
0bf4aa26 | 101 | | ^ |
416331ca XL |
102 | | |
103 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
104 | |
105 | error[E0603]: tuple struct `C` is private | |
0731742a | 106 | --> $DIR/privacy5.rs:68:12 |
b7449926 | 107 | | |
532ac7d7 | 108 | LL | let a::C(_, _) = c; |
0bf4aa26 | 109 | | ^ |
416331ca XL |
110 | | |
111 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
112 | |
113 | error[E0603]: tuple struct `C` is private | |
0731742a | 114 | --> $DIR/privacy5.rs:69:12 |
b7449926 | 115 | | |
532ac7d7 | 116 | LL | let a::C(_a, _) = c; |
0bf4aa26 | 117 | | ^ |
416331ca XL |
118 | | |
119 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
120 | |
121 | error[E0603]: tuple struct `C` is private | |
0731742a | 122 | --> $DIR/privacy5.rs:70:12 |
b7449926 | 123 | | |
532ac7d7 | 124 | LL | let a::C(_, _b) = c; |
0bf4aa26 | 125 | | ^ |
416331ca XL |
126 | | |
127 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
128 | |
129 | error[E0603]: tuple struct `C` is private | |
0731742a | 130 | --> $DIR/privacy5.rs:71:12 |
b7449926 | 131 | | |
532ac7d7 | 132 | LL | let a::C(_a, _b) = c; |
0bf4aa26 | 133 | | ^ |
416331ca XL |
134 | | |
135 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
136 | |
137 | error[E0603]: tuple struct `C` is private | |
0731742a | 138 | --> $DIR/privacy5.rs:72:18 |
b7449926 | 139 | | |
532ac7d7 | 140 | LL | match c { a::C(_, _) => {} } |
0bf4aa26 | 141 | | ^ |
416331ca XL |
142 | | |
143 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
144 | |
145 | error[E0603]: tuple struct `C` is private | |
0731742a | 146 | --> $DIR/privacy5.rs:73:18 |
b7449926 | 147 | | |
532ac7d7 | 148 | LL | match c { a::C(_a, _) => {} } |
0bf4aa26 | 149 | | ^ |
416331ca XL |
150 | | |
151 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
152 | |
153 | error[E0603]: tuple struct `C` is private | |
0731742a | 154 | --> $DIR/privacy5.rs:74:18 |
b7449926 | 155 | | |
532ac7d7 | 156 | LL | match c { a::C(_, _b) => {} } |
0bf4aa26 | 157 | | ^ |
416331ca XL |
158 | | |
159 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
160 | |
161 | error[E0603]: tuple struct `C` is private | |
0731742a | 162 | --> $DIR/privacy5.rs:75:18 |
b7449926 | 163 | | |
532ac7d7 | 164 | LL | match c { a::C(_a, _b) => {} } |
0bf4aa26 | 165 | | ^ |
416331ca XL |
166 | | |
167 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
168 | |
169 | error[E0603]: tuple struct `A` is private | |
0731742a | 170 | --> $DIR/privacy5.rs:83:17 |
b7449926 | 171 | | |
532ac7d7 | 172 | LL | let a2 = a::A; |
0bf4aa26 | 173 | | ^ |
416331ca XL |
174 | | |
175 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
176 | |
177 | error[E0603]: tuple struct `B` is private | |
0731742a | 178 | --> $DIR/privacy5.rs:84:17 |
b7449926 | 179 | | |
532ac7d7 | 180 | LL | let b2 = a::B; |
0bf4aa26 | 181 | | ^ |
416331ca XL |
182 | | |
183 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
184 | |
185 | error[E0603]: tuple struct `C` is private | |
0731742a | 186 | --> $DIR/privacy5.rs:85:17 |
b7449926 | 187 | | |
532ac7d7 | 188 | LL | let c2 = a::C; |
0bf4aa26 | 189 | | ^ |
416331ca XL |
190 | | |
191 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
192 | |
193 | error[E0603]: tuple struct `A` is private | |
0731742a | 194 | --> $DIR/privacy5.rs:90:20 |
b7449926 | 195 | | |
532ac7d7 | 196 | LL | let a = other::A(()); |
0bf4aa26 | 197 | | ^ |
416331ca XL |
198 | | |
199 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
200 | |
201 | error[E0603]: tuple struct `B` is private | |
0731742a | 202 | --> $DIR/privacy5.rs:91:20 |
b7449926 | 203 | | |
532ac7d7 | 204 | LL | let b = other::B(2); |
0bf4aa26 | 205 | | ^ |
416331ca XL |
206 | | |
207 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
208 | |
209 | error[E0603]: tuple struct `C` is private | |
0731742a | 210 | --> $DIR/privacy5.rs:92:20 |
b7449926 | 211 | | |
532ac7d7 | 212 | LL | let c = other::C(2, 3); |
0bf4aa26 | 213 | | ^ |
416331ca XL |
214 | | |
215 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
216 | |
217 | error[E0603]: tuple struct `A` is private | |
0731742a | 218 | --> $DIR/privacy5.rs:95:16 |
b7449926 | 219 | | |
532ac7d7 | 220 | LL | let other::A(()) = a; |
0bf4aa26 | 221 | | ^ |
416331ca XL |
222 | | |
223 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
224 | |
225 | error[E0603]: tuple struct `A` is private | |
0731742a | 226 | --> $DIR/privacy5.rs:96:16 |
b7449926 | 227 | | |
532ac7d7 | 228 | LL | let other::A(_) = a; |
0bf4aa26 | 229 | | ^ |
416331ca XL |
230 | | |
231 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
232 | |
233 | error[E0603]: tuple struct `A` is private | |
0731742a | 234 | --> $DIR/privacy5.rs:97:22 |
b7449926 | 235 | | |
532ac7d7 | 236 | LL | match a { other::A(()) => {} } |
0bf4aa26 | 237 | | ^ |
416331ca XL |
238 | | |
239 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
240 | |
241 | error[E0603]: tuple struct `A` is private | |
0731742a | 242 | --> $DIR/privacy5.rs:98:22 |
b7449926 | 243 | | |
532ac7d7 | 244 | LL | match a { other::A(_) => {} } |
0bf4aa26 | 245 | | ^ |
416331ca XL |
246 | | |
247 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
248 | |
249 | error[E0603]: tuple struct `B` is private | |
0731742a | 250 | --> $DIR/privacy5.rs:100:16 |
b7449926 | 251 | | |
532ac7d7 | 252 | LL | let other::B(_) = b; |
0bf4aa26 | 253 | | ^ |
416331ca XL |
254 | | |
255 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
256 | |
257 | error[E0603]: tuple struct `B` is private | |
0731742a | 258 | --> $DIR/privacy5.rs:101:16 |
b7449926 | 259 | | |
532ac7d7 | 260 | LL | let other::B(_b) = b; |
0bf4aa26 | 261 | | ^ |
416331ca XL |
262 | | |
263 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
264 | |
265 | error[E0603]: tuple struct `B` is private | |
0731742a | 266 | --> $DIR/privacy5.rs:102:22 |
b7449926 | 267 | | |
532ac7d7 | 268 | LL | match b { other::B(_) => {} } |
0bf4aa26 | 269 | | ^ |
416331ca XL |
270 | | |
271 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
272 | |
273 | error[E0603]: tuple struct `B` is private | |
0731742a | 274 | --> $DIR/privacy5.rs:103:22 |
b7449926 | 275 | | |
532ac7d7 | 276 | LL | match b { other::B(_b) => {} } |
0bf4aa26 | 277 | | ^ |
416331ca XL |
278 | | |
279 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
280 | |
281 | error[E0603]: tuple struct `B` is private | |
0731742a | 282 | --> $DIR/privacy5.rs:104:22 |
b7449926 | 283 | | |
532ac7d7 | 284 | LL | match b { other::B(1) => {} other::B(_) => {} } |
0bf4aa26 | 285 | | ^ |
416331ca XL |
286 | | |
287 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
288 | |
289 | error[E0603]: tuple struct `B` is private | |
0731742a | 290 | --> $DIR/privacy5.rs:104:40 |
b7449926 | 291 | | |
532ac7d7 | 292 | LL | match b { other::B(1) => {} other::B(_) => {} } |
0bf4aa26 | 293 | | ^ |
416331ca XL |
294 | | |
295 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
296 | |
297 | error[E0603]: tuple struct `C` is private | |
0731742a | 298 | --> $DIR/privacy5.rs:107:16 |
b7449926 | 299 | | |
532ac7d7 | 300 | LL | let other::C(_, _) = c; |
0bf4aa26 | 301 | | ^ |
416331ca XL |
302 | | |
303 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
304 | |
305 | error[E0603]: tuple struct `C` is private | |
0731742a | 306 | --> $DIR/privacy5.rs:108:16 |
b7449926 | 307 | | |
532ac7d7 | 308 | LL | let other::C(_a, _) = c; |
0bf4aa26 | 309 | | ^ |
416331ca XL |
310 | | |
311 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
312 | |
313 | error[E0603]: tuple struct `C` is private | |
0731742a | 314 | --> $DIR/privacy5.rs:109:16 |
b7449926 | 315 | | |
532ac7d7 | 316 | LL | let other::C(_, _b) = c; |
0bf4aa26 | 317 | | ^ |
416331ca XL |
318 | | |
319 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
320 | |
321 | error[E0603]: tuple struct `C` is private | |
0731742a | 322 | --> $DIR/privacy5.rs:110:16 |
b7449926 | 323 | | |
532ac7d7 | 324 | LL | let other::C(_a, _b) = c; |
0bf4aa26 | 325 | | ^ |
416331ca XL |
326 | | |
327 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
328 | |
329 | error[E0603]: tuple struct `C` is private | |
0731742a | 330 | --> $DIR/privacy5.rs:111:22 |
b7449926 | 331 | | |
532ac7d7 | 332 | LL | match c { other::C(_, _) => {} } |
0bf4aa26 | 333 | | ^ |
416331ca XL |
334 | | |
335 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
336 | |
337 | error[E0603]: tuple struct `C` is private | |
0731742a | 338 | --> $DIR/privacy5.rs:112:22 |
b7449926 | 339 | | |
532ac7d7 | 340 | LL | match c { other::C(_a, _) => {} } |
0bf4aa26 | 341 | | ^ |
416331ca XL |
342 | | |
343 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
344 | |
345 | error[E0603]: tuple struct `C` is private | |
0731742a | 346 | --> $DIR/privacy5.rs:113:22 |
b7449926 | 347 | | |
532ac7d7 | 348 | LL | match c { other::C(_, _b) => {} } |
0bf4aa26 | 349 | | ^ |
416331ca XL |
350 | | |
351 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
352 | |
353 | error[E0603]: tuple struct `C` is private | |
0731742a | 354 | --> $DIR/privacy5.rs:114:22 |
b7449926 | 355 | | |
532ac7d7 | 356 | LL | match c { other::C(_a, _b) => {} } |
0bf4aa26 | 357 | | ^ |
416331ca XL |
358 | | |
359 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
360 | |
361 | error[E0603]: tuple struct `A` is private | |
0731742a | 362 | --> $DIR/privacy5.rs:122:21 |
b7449926 | 363 | | |
532ac7d7 | 364 | LL | let a2 = other::A; |
0bf4aa26 | 365 | | ^ |
416331ca XL |
366 | | |
367 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
368 | |
369 | error[E0603]: tuple struct `B` is private | |
0731742a | 370 | --> $DIR/privacy5.rs:123:21 |
b7449926 | 371 | | |
532ac7d7 | 372 | LL | let b2 = other::B; |
0bf4aa26 | 373 | | ^ |
416331ca XL |
374 | | |
375 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
376 | |
377 | error[E0603]: tuple struct `C` is private | |
0731742a | 378 | --> $DIR/privacy5.rs:124:21 |
b7449926 | 379 | | |
532ac7d7 | 380 | LL | let c2 = other::C; |
0bf4aa26 | 381 | | ^ |
416331ca XL |
382 | | |
383 | = note: a tuple struct constructor is private if any of its fields is private | |
b7449926 XL |
384 | |
385 | error: aborting due to 48 previous errors | |
386 | ||
387 | For more information about this error, try `rustc --explain E0603`. |