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