]> git.lizzy.rs Git - rust.git/blob - src/test/ui/privacy/privacy5.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / privacy / privacy5.stderr
1 error[E0603]: tuple struct `A` is private
2   --> $DIR/privacy5.rs:61:13
3    |
4 LL |     let a = a::A(()); //~ ERROR tuple struct `A` is private
5    |             ^^^^
6
7 error[E0603]: tuple struct `B` is private
8   --> $DIR/privacy5.rs:62:13
9    |
10 LL |     let b = a::B(2); //~ ERROR tuple struct `B` is private
11    |             ^^^^
12
13 error[E0603]: tuple struct `C` is private
14   --> $DIR/privacy5.rs:63:13
15    |
16 LL |     let c = a::C(2, 3); //~ ERROR tuple struct `C` is private
17    |             ^^^^
18
19 error[E0603]: tuple struct `A` is private
20   --> $DIR/privacy5.rs:66:9
21    |
22 LL |     let a::A(()) = a; //~ ERROR tuple struct `A` is private
23    |         ^^^^
24
25 error[E0603]: tuple struct `A` is private
26   --> $DIR/privacy5.rs:67:9
27    |
28 LL |     let a::A(_) = a; //~ ERROR tuple struct `A` is private
29    |         ^^^^
30
31 error[E0603]: tuple struct `A` is private
32   --> $DIR/privacy5.rs:68:15
33    |
34 LL |     match a { a::A(()) => {} } //~ ERROR tuple struct `A` is private
35    |               ^^^^
36
37 error[E0603]: tuple struct `A` is private
38   --> $DIR/privacy5.rs:69:15
39    |
40 LL |     match a { a::A(_) => {} } //~ ERROR tuple struct `A` is private
41    |               ^^^^
42
43 error[E0603]: tuple struct `B` is private
44   --> $DIR/privacy5.rs:71:9
45    |
46 LL |     let a::B(_) = b; //~ ERROR tuple struct `B` is private
47    |         ^^^^
48
49 error[E0603]: tuple struct `B` is private
50   --> $DIR/privacy5.rs:72:9
51    |
52 LL |     let a::B(_b) = b; //~ ERROR tuple struct `B` is private
53    |         ^^^^
54
55 error[E0603]: tuple struct `B` is private
56   --> $DIR/privacy5.rs:73:15
57    |
58 LL |     match b { a::B(_) => {} } //~ ERROR tuple struct `B` is private
59    |               ^^^^
60
61 error[E0603]: tuple struct `B` is private
62   --> $DIR/privacy5.rs:74:15
63    |
64 LL |     match b { a::B(_b) => {} } //~ ERROR tuple struct `B` is private
65    |               ^^^^
66
67 error[E0603]: tuple struct `B` is private
68   --> $DIR/privacy5.rs:75:15
69    |
70 LL |     match b { a::B(1) => {} a::B(_) => {} } //~ ERROR tuple struct `B` is private
71    |               ^^^^
72
73 error[E0603]: tuple struct `B` is private
74   --> $DIR/privacy5.rs:75:29
75    |
76 LL |     match b { a::B(1) => {} a::B(_) => {} } //~ ERROR tuple struct `B` is private
77    |                             ^^^^
78
79 error[E0603]: tuple struct `C` is private
80   --> $DIR/privacy5.rs:78:9
81    |
82 LL |     let a::C(_, _) = c; //~ ERROR tuple struct `C` is private
83    |         ^^^^
84
85 error[E0603]: tuple struct `C` is private
86   --> $DIR/privacy5.rs:79:9
87    |
88 LL |     let a::C(_a, _) = c; //~ ERROR tuple struct `C` is private
89    |         ^^^^
90
91 error[E0603]: tuple struct `C` is private
92   --> $DIR/privacy5.rs:80:9
93    |
94 LL |     let a::C(_, _b) = c; //~ ERROR tuple struct `C` is private
95    |         ^^^^
96
97 error[E0603]: tuple struct `C` is private
98   --> $DIR/privacy5.rs:81:9
99    |
100 LL |     let a::C(_a, _b) = c; //~ ERROR tuple struct `C` is private
101    |         ^^^^
102
103 error[E0603]: tuple struct `C` is private
104   --> $DIR/privacy5.rs:82:15
105    |
106 LL |     match c { a::C(_, _) => {} } //~ ERROR tuple struct `C` is private
107    |               ^^^^
108
109 error[E0603]: tuple struct `C` is private
110   --> $DIR/privacy5.rs:83:15
111    |
112 LL |     match c { a::C(_a, _) => {} } //~ ERROR tuple struct `C` is private
113    |               ^^^^
114
115 error[E0603]: tuple struct `C` is private
116   --> $DIR/privacy5.rs:84:15
117    |
118 LL |     match c { a::C(_, _b) => {} } //~ ERROR tuple struct `C` is private
119    |               ^^^^
120
121 error[E0603]: tuple struct `C` is private
122   --> $DIR/privacy5.rs:85:15
123    |
124 LL |     match c { a::C(_a, _b) => {} } //~ ERROR tuple struct `C` is private
125    |               ^^^^
126
127 error[E0603]: tuple struct `A` is private
128   --> $DIR/privacy5.rs:93:14
129    |
130 LL |     let a2 = a::A; //~ ERROR tuple struct `A` is private
131    |              ^^^^
132
133 error[E0603]: tuple struct `B` is private
134   --> $DIR/privacy5.rs:94:14
135    |
136 LL |     let b2 = a::B; //~ ERROR tuple struct `B` is private
137    |              ^^^^
138
139 error[E0603]: tuple struct `C` is private
140   --> $DIR/privacy5.rs:95:14
141    |
142 LL |     let c2 = a::C; //~ ERROR tuple struct `C` is private
143    |              ^^^^
144
145 error[E0603]: tuple struct `A` is private
146   --> $DIR/privacy5.rs:100:13
147    |
148 LL |     let a = other::A(()); //~ ERROR tuple struct `A` is private
149    |             ^^^^^^^^
150
151 error[E0603]: tuple struct `B` is private
152   --> $DIR/privacy5.rs:101:13
153    |
154 LL |     let b = other::B(2); //~ ERROR tuple struct `B` is private
155    |             ^^^^^^^^
156
157 error[E0603]: tuple struct `C` is private
158   --> $DIR/privacy5.rs:102:13
159    |
160 LL |     let c = other::C(2, 3); //~ ERROR tuple struct `C` is private
161    |             ^^^^^^^^
162
163 error[E0603]: tuple struct `A` is private
164   --> $DIR/privacy5.rs:105:9
165    |
166 LL |     let other::A(()) = a; //~ ERROR tuple struct `A` is private
167    |         ^^^^^^^^
168
169 error[E0603]: tuple struct `A` is private
170   --> $DIR/privacy5.rs:106:9
171    |
172 LL |     let other::A(_) = a; //~ ERROR tuple struct `A` is private
173    |         ^^^^^^^^
174
175 error[E0603]: tuple struct `A` is private
176   --> $DIR/privacy5.rs:107:15
177    |
178 LL |     match a { other::A(()) => {} } //~ ERROR tuple struct `A` is private
179    |               ^^^^^^^^
180
181 error[E0603]: tuple struct `A` is private
182   --> $DIR/privacy5.rs:108:15
183    |
184 LL |     match a { other::A(_) => {} } //~ ERROR tuple struct `A` is private
185    |               ^^^^^^^^
186
187 error[E0603]: tuple struct `B` is private
188   --> $DIR/privacy5.rs:110:9
189    |
190 LL |     let other::B(_) = b; //~ ERROR tuple struct `B` is private
191    |         ^^^^^^^^
192
193 error[E0603]: tuple struct `B` is private
194   --> $DIR/privacy5.rs:111:9
195    |
196 LL |     let other::B(_b) = b; //~ ERROR tuple struct `B` is private
197    |         ^^^^^^^^
198
199 error[E0603]: tuple struct `B` is private
200   --> $DIR/privacy5.rs:112:15
201    |
202 LL |     match b { other::B(_) => {} } //~ ERROR tuple struct `B` is private
203    |               ^^^^^^^^
204
205 error[E0603]: tuple struct `B` is private
206   --> $DIR/privacy5.rs:113:15
207    |
208 LL |     match b { other::B(_b) => {} } //~ ERROR tuple struct `B` is private
209    |               ^^^^^^^^
210
211 error[E0603]: tuple struct `B` is private
212   --> $DIR/privacy5.rs:114:15
213    |
214 LL |     match b { other::B(1) => {} other::B(_) => {} } //~ ERROR tuple struct `B` is private
215    |               ^^^^^^^^
216
217 error[E0603]: tuple struct `B` is private
218   --> $DIR/privacy5.rs:114:33
219    |
220 LL |     match b { other::B(1) => {} other::B(_) => {} } //~ ERROR tuple struct `B` is private
221    |                                 ^^^^^^^^
222
223 error[E0603]: tuple struct `C` is private
224   --> $DIR/privacy5.rs:117:9
225    |
226 LL |     let other::C(_, _) = c; //~ ERROR tuple struct `C` is private
227    |         ^^^^^^^^
228
229 error[E0603]: tuple struct `C` is private
230   --> $DIR/privacy5.rs:118:9
231    |
232 LL |     let other::C(_a, _) = c; //~ ERROR tuple struct `C` is private
233    |         ^^^^^^^^
234
235 error[E0603]: tuple struct `C` is private
236   --> $DIR/privacy5.rs:119:9
237    |
238 LL |     let other::C(_, _b) = c; //~ ERROR tuple struct `C` is private
239    |         ^^^^^^^^
240
241 error[E0603]: tuple struct `C` is private
242   --> $DIR/privacy5.rs:120:9
243    |
244 LL |     let other::C(_a, _b) = c; //~ ERROR tuple struct `C` is private
245    |         ^^^^^^^^
246
247 error[E0603]: tuple struct `C` is private
248   --> $DIR/privacy5.rs:121:15
249    |
250 LL |     match c { other::C(_, _) => {} } //~ ERROR tuple struct `C` is private
251    |               ^^^^^^^^
252
253 error[E0603]: tuple struct `C` is private
254   --> $DIR/privacy5.rs:122:15
255    |
256 LL |     match c { other::C(_a, _) => {} } //~ ERROR tuple struct `C` is private
257    |               ^^^^^^^^
258
259 error[E0603]: tuple struct `C` is private
260   --> $DIR/privacy5.rs:123:15
261    |
262 LL |     match c { other::C(_, _b) => {} } //~ ERROR tuple struct `C` is private
263    |               ^^^^^^^^
264
265 error[E0603]: tuple struct `C` is private
266   --> $DIR/privacy5.rs:124:15
267    |
268 LL |     match c { other::C(_a, _b) => {} } //~ ERROR tuple struct `C` is private
269    |               ^^^^^^^^
270
271 error[E0603]: tuple struct `A` is private
272   --> $DIR/privacy5.rs:132:14
273    |
274 LL |     let a2 = other::A; //~ ERROR tuple struct `A` is private
275    |              ^^^^^^^^
276
277 error[E0603]: tuple struct `B` is private
278   --> $DIR/privacy5.rs:133:14
279    |
280 LL |     let b2 = other::B; //~ ERROR tuple struct `B` is private
281    |              ^^^^^^^^
282
283 error[E0603]: tuple struct `C` is private
284   --> $DIR/privacy5.rs:134:14
285    |
286 LL |     let c2 = other::C; //~ ERROR tuple struct `C` is private
287    |              ^^^^^^^^
288
289 error: aborting due to 48 previous errors
290
291 For more information about this error, try `rustc --explain E0603`.