]> git.proxmox.com Git - rustc.git/blob - src/test/ui/deprecation/deprecation-lint.stderr
New upstream version 1.61.0+dfsg1
[rustc.git] / src / test / ui / deprecation / deprecation-lint.stderr
1 error: use of deprecated function `deprecation_lint::deprecated`: text
2 --> $DIR/deprecation-lint.rs:16:9
3 |
4 LL | deprecated();
5 | ^^^^^^^^^^
6 |
7 note: the lint level is defined here
8 --> $DIR/deprecation-lint.rs:3:9
9 |
10 LL | #![deny(deprecated)]
11 | ^^^^^^^^^^
12
13 error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated`: text
14 --> $DIR/deprecation-lint.rs:21:16
15 |
16 LL | Trait::trait_deprecated(&foo);
17 | ^^^^^^^^^^^^^^^^
18
19 error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated`: text
20 --> $DIR/deprecation-lint.rs:23:25
21 |
22 LL | <Foo as Trait>::trait_deprecated(&foo);
23 | ^^^^^^^^^^^^^^^^
24
25 error: use of deprecated function `deprecation_lint::deprecated_text`: text
26 --> $DIR/deprecation-lint.rs:25:9
27 |
28 LL | deprecated_text();
29 | ^^^^^^^^^^^^^^^
30
31 error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated_text`: text
32 --> $DIR/deprecation-lint.rs:30:16
33 |
34 LL | ... Trait::trait_deprecated_text(&foo);
35 | ^^^^^^^^^^^^^^^^^^^^^
36
37 error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated_text`: text
38 --> $DIR/deprecation-lint.rs:32:25
39 |
40 LL | ... <Foo as Trait>::trait_deprecated_text(&foo);
41 | ^^^^^^^^^^^^^^^^^^^^^
42
43 error: use of deprecated struct `deprecation_lint::DeprecatedStruct`: text
44 --> $DIR/deprecation-lint.rs:34:17
45 |
46 LL | let _ = DeprecatedStruct {
47 | ^^^^^^^^^^^^^^^^
48
49 error: use of deprecated unit struct `deprecation_lint::DeprecatedUnitStruct`: text
50 --> $DIR/deprecation-lint.rs:38:17
51 |
52 LL | let _ = DeprecatedUnitStruct;
53 | ^^^^^^^^^^^^^^^^^^^^
54
55 error: use of deprecated unit variant `deprecation_lint::Enum::DeprecatedVariant`: text
56 --> $DIR/deprecation-lint.rs:40:23
57 |
58 LL | let _ = Enum::DeprecatedVariant;
59 | ^^^^^^^^^^^^^^^^^
60
61 error: use of deprecated tuple struct `deprecation_lint::DeprecatedTupleStruct`: text
62 --> $DIR/deprecation-lint.rs:42:17
63 |
64 LL | let _ = DeprecatedTupleStruct (1);
65 | ^^^^^^^^^^^^^^^^^^^^^
66
67 error: use of deprecated struct `deprecation_lint::nested::DeprecatedStruct`: text
68 --> $DIR/deprecation-lint.rs:44:25
69 |
70 LL | let _ = nested::DeprecatedStruct {
71 | ^^^^^^^^^^^^^^^^
72
73 error: use of deprecated unit struct `deprecation_lint::nested::DeprecatedUnitStruct`: text
74 --> $DIR/deprecation-lint.rs:48:25
75 |
76 LL | let _ = nested::DeprecatedUnitStruct;
77 | ^^^^^^^^^^^^^^^^^^^^
78
79 error: use of deprecated unit variant `deprecation_lint::nested::Enum::DeprecatedVariant`: text
80 --> $DIR/deprecation-lint.rs:50:31
81 |
82 LL | ... let _ = nested::Enum::DeprecatedVariant;
83 | ^^^^^^^^^^^^^^^^^
84
85 error: use of deprecated tuple struct `deprecation_lint::nested::DeprecatedTupleStruct`: text
86 --> $DIR/deprecation-lint.rs:52:25
87 |
88 LL | ... let _ = nested::DeprecatedTupleStruct (1);
89 | ^^^^^^^^^^^^^^^^^^^^^
90
91 error: use of deprecated function `deprecation_lint::deprecated_text`: text
92 --> $DIR/deprecation-lint.rs:59:25
93 |
94 LL | macro_test_arg!(deprecated_text());
95 | ^^^^^^^^^^^^^^^
96
97 error: use of deprecated function `deprecation_lint::deprecated_text`: text
98 --> $DIR/deprecation-lint.rs:60:41
99 |
100 LL | macro_test_arg!(macro_test_arg!(deprecated_text()));
101 | ^^^^^^^^^^^^^^^
102
103 error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated`: text
104 --> $DIR/deprecation-lint.rs:65:16
105 |
106 LL | Trait::trait_deprecated(&foo);
107 | ^^^^^^^^^^^^^^^^
108
109 error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated`: text
110 --> $DIR/deprecation-lint.rs:67:25
111 |
112 LL | <Foo as Trait>::trait_deprecated(&foo);
113 | ^^^^^^^^^^^^^^^^
114
115 error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated_text`: text
116 --> $DIR/deprecation-lint.rs:69:16
117 |
118 LL | ... Trait::trait_deprecated_text(&foo);
119 | ^^^^^^^^^^^^^^^^^^^^^
120
121 error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated_text`: text
122 --> $DIR/deprecation-lint.rs:71:25
123 |
124 LL | ... <Foo as Trait>::trait_deprecated_text(&foo);
125 | ^^^^^^^^^^^^^^^^^^^^^
126
127 error: use of deprecated trait `deprecation_lint::DeprecatedTrait`: text
128 --> $DIR/deprecation-lint.rs:81:10
129 |
130 LL | impl DeprecatedTrait for S {}
131 | ^^^^^^^^^^^^^^^
132
133 error: use of deprecated trait `deprecation_lint::DeprecatedTrait`: text
134 --> $DIR/deprecation-lint.rs:82:24
135 |
136 LL | trait LocalTrait : DeprecatedTrait { }
137 | ^^^^^^^^^^^^^^^
138
139 error: use of deprecated struct `deprecation_lint::Deprecated`: text
140 --> $DIR/deprecation-lint.rs:113:17
141 |
142 LL | let x = Deprecated {
143 | ^^^^^^^^^^
144
145 error: use of deprecated struct `deprecation_lint::Deprecated`: text
146 --> $DIR/deprecation-lint.rs:122:13
147 |
148 LL | let Deprecated {
149 | ^^^^^^^^^^
150
151 error: use of deprecated struct `deprecation_lint::Deprecated`: text
152 --> $DIR/deprecation-lint.rs:128:13
153 |
154 LL | let Deprecated
155 | ^^^^^^^^^^
156
157 error: use of deprecated tuple struct `deprecation_lint::Deprecated2`: text
158 --> $DIR/deprecation-lint.rs:132:17
159 |
160 LL | let x = Deprecated2(1, 2, 3);
161 | ^^^^^^^^^^^
162
163 error: use of deprecated tuple struct `deprecation_lint::Deprecated2`: text
164 --> $DIR/deprecation-lint.rs:142:13
165 |
166 LL | let Deprecated2
167 | ^^^^^^^^^^^
168
169 error: use of deprecated tuple struct `deprecation_lint::Deprecated2`: text
170 --> $DIR/deprecation-lint.rs:151:13
171 |
172 LL | let Deprecated2
173 | ^^^^^^^^^^^
174
175 error: use of deprecated function `deprecation_lint::deprecated_mod::deprecated`: text
176 --> $DIR/deprecation-lint.rs:162:25
177 |
178 LL | deprecated_mod::deprecated();
179 | ^^^^^^^^^^
180
181 error: use of deprecated function `this_crate::deprecated`: text
182 --> $DIR/deprecation-lint.rs:245:9
183 |
184 LL | deprecated();
185 | ^^^^^^^^^^
186
187 error: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
188 --> $DIR/deprecation-lint.rs:250:16
189 |
190 LL | Trait::trait_deprecated(&foo);
191 | ^^^^^^^^^^^^^^^^
192
193 error: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
194 --> $DIR/deprecation-lint.rs:252:25
195 |
196 LL | <Foo as Trait>::trait_deprecated(&foo);
197 | ^^^^^^^^^^^^^^^^
198
199 error: use of deprecated function `this_crate::deprecated_text`: text
200 --> $DIR/deprecation-lint.rs:254:9
201 |
202 LL | deprecated_text();
203 | ^^^^^^^^^^^^^^^
204
205 error: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
206 --> $DIR/deprecation-lint.rs:259:16
207 |
208 LL | Trait::trait_deprecated_text(&foo);
209 | ^^^^^^^^^^^^^^^^^^^^^
210
211 error: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
212 --> $DIR/deprecation-lint.rs:261:25
213 |
214 LL | ... <Foo as Trait>::trait_deprecated_text(&foo);
215 | ^^^^^^^^^^^^^^^^^^^^^
216
217 error: use of deprecated function `this_crate::deprecated_future`: text
218 --> $DIR/deprecation-lint.rs:264:9
219 |
220 LL | deprecated_future();
221 | ^^^^^^^^^^^^^^^^^
222
223 error: use of deprecated function `this_crate::deprecated_future_text`: text
224 --> $DIR/deprecation-lint.rs:265:9
225 |
226 LL | deprecated_future_text();
227 | ^^^^^^^^^^^^^^^^^^^^^^
228
229 error: use of deprecated struct `this_crate::DeprecatedStruct`: text
230 --> $DIR/deprecation-lint.rs:267:17
231 |
232 LL | let _ = DeprecatedStruct {
233 | ^^^^^^^^^^^^^^^^
234
235 error: use of deprecated unit struct `this_crate::DeprecatedUnitStruct`: text
236 --> $DIR/deprecation-lint.rs:272:17
237 |
238 LL | let _ = DeprecatedUnitStruct;
239 | ^^^^^^^^^^^^^^^^^^^^
240
241 error: use of deprecated unit variant `this_crate::Enum::DeprecatedVariant`: text
242 --> $DIR/deprecation-lint.rs:274:23
243 |
244 LL | let _ = Enum::DeprecatedVariant;
245 | ^^^^^^^^^^^^^^^^^
246
247 error: use of deprecated tuple struct `this_crate::DeprecatedTupleStruct`: text
248 --> $DIR/deprecation-lint.rs:276:17
249 |
250 LL | let _ = DeprecatedTupleStruct (1);
251 | ^^^^^^^^^^^^^^^^^^^^^
252
253 error: use of deprecated struct `this_crate::nested::DeprecatedStruct`: text
254 --> $DIR/deprecation-lint.rs:278:25
255 |
256 LL | let _ = nested::DeprecatedStruct {
257 | ^^^^^^^^^^^^^^^^
258
259 error: use of deprecated unit struct `this_crate::nested::DeprecatedUnitStruct`: text
260 --> $DIR/deprecation-lint.rs:284:25
261 |
262 LL | let _ = nested::DeprecatedUnitStruct;
263 | ^^^^^^^^^^^^^^^^^^^^
264
265 error: use of deprecated unit variant `this_crate::nested::Enum::DeprecatedVariant`: text
266 --> $DIR/deprecation-lint.rs:286:31
267 |
268 LL | ... let _ = nested::Enum::DeprecatedVariant;
269 | ^^^^^^^^^^^^^^^^^
270
271 error: use of deprecated tuple struct `this_crate::nested::DeprecatedTupleStruct`: text
272 --> $DIR/deprecation-lint.rs:288:25
273 |
274 LL | ... let _ = nested::DeprecatedTupleStruct (1);
275 | ^^^^^^^^^^^^^^^^^^^^^
276
277 error: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
278 --> $DIR/deprecation-lint.rs:293:16
279 |
280 LL | Trait::trait_deprecated(&foo);
281 | ^^^^^^^^^^^^^^^^
282
283 error: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
284 --> $DIR/deprecation-lint.rs:295:25
285 |
286 LL | <Foo as Trait>::trait_deprecated(&foo);
287 | ^^^^^^^^^^^^^^^^
288
289 error: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
290 --> $DIR/deprecation-lint.rs:297:16
291 |
292 LL | Trait::trait_deprecated_text(&foo);
293 | ^^^^^^^^^^^^^^^^^^^^^
294
295 error: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
296 --> $DIR/deprecation-lint.rs:299:25
297 |
298 LL | ... <Foo as Trait>::trait_deprecated_text(&foo);
299 | ^^^^^^^^^^^^^^^^^^^^^
300
301 error: use of deprecated function `this_crate::test_fn_closure_body::{closure#0}::bar`
302 --> $DIR/deprecation-lint.rs:317:13
303 |
304 LL | bar();
305 | ^^^
306
307 error: use of deprecated trait `this_crate::DeprecatedTrait`: text
308 --> $DIR/deprecation-lint.rs:336:10
309 |
310 LL | impl DeprecatedTrait for S { }
311 | ^^^^^^^^^^^^^^^
312
313 error: use of deprecated trait `this_crate::DeprecatedTrait`: text
314 --> $DIR/deprecation-lint.rs:338:24
315 |
316 LL | trait LocalTrait : DeprecatedTrait { }
317 | ^^^^^^^^^^^^^^^
318
319 error: use of deprecated struct `this_crate2::Deprecated`: text
320 --> $DIR/deprecation-lint.rs:390:17
321 |
322 LL | let x = Deprecated {
323 | ^^^^^^^^^^
324
325 error: use of deprecated struct `this_crate2::Deprecated`: text
326 --> $DIR/deprecation-lint.rs:399:13
327 |
328 LL | let Deprecated {
329 | ^^^^^^^^^^
330
331 error: use of deprecated struct `this_crate2::Deprecated`: text
332 --> $DIR/deprecation-lint.rs:405:13
333 |
334 LL | let Deprecated
335 | ^^^^^^^^^^
336
337 error: use of deprecated tuple struct `this_crate2::Deprecated2`: text
338 --> $DIR/deprecation-lint.rs:410:17
339 |
340 LL | let x = Deprecated2(1, 2, 3);
341 | ^^^^^^^^^^^
342
343 error: use of deprecated tuple struct `this_crate2::Deprecated2`: text
344 --> $DIR/deprecation-lint.rs:420:13
345 |
346 LL | let Deprecated2
347 | ^^^^^^^^^^^
348
349 error: use of deprecated tuple struct `this_crate2::Deprecated2`: text
350 --> $DIR/deprecation-lint.rs:429:13
351 |
352 LL | let Deprecated2
353 | ^^^^^^^^^^^
354
355 error: use of deprecated associated function `deprecation_lint::MethodTester::method_deprecated`: text
356 --> $DIR/deprecation-lint.rs:17:13
357 |
358 LL | foo.method_deprecated();
359 | ^^^^^^^^^^^^^^^^^
360
361 error: use of deprecated associated function `deprecation_lint::MethodTester::method_deprecated`: text
362 --> $DIR/deprecation-lint.rs:18:14
363 |
364 LL | Foo::method_deprecated(&foo);
365 | ^^^^^^^^^^^^^^^^^
366
367 error: use of deprecated associated function `deprecation_lint::MethodTester::method_deprecated`: text
368 --> $DIR/deprecation-lint.rs:19:16
369 |
370 LL | <Foo>::method_deprecated(&foo);
371 | ^^^^^^^^^^^^^^^^^
372
373 error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated`: text
374 --> $DIR/deprecation-lint.rs:20:13
375 |
376 LL | foo.trait_deprecated();
377 | ^^^^^^^^^^^^^^^^
378
379 error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated`: text
380 --> $DIR/deprecation-lint.rs:22:16
381 |
382 LL | <Foo>::trait_deprecated(&foo);
383 | ^^^^^^^^^^^^^^^^
384
385 error: use of deprecated associated function `deprecation_lint::MethodTester::method_deprecated_text`: text
386 --> $DIR/deprecation-lint.rs:26:13
387 |
388 LL | ... foo.method_deprecated_text();
389 | ^^^^^^^^^^^^^^^^^^^^^^
390
391 error: use of deprecated associated function `deprecation_lint::MethodTester::method_deprecated_text`: text
392 --> $DIR/deprecation-lint.rs:27:14
393 |
394 LL | ... Foo::method_deprecated_text(&foo);
395 | ^^^^^^^^^^^^^^^^^^^^^^
396
397 error: use of deprecated associated function `deprecation_lint::MethodTester::method_deprecated_text`: text
398 --> $DIR/deprecation-lint.rs:28:16
399 |
400 LL | ... <Foo>::method_deprecated_text(&foo);
401 | ^^^^^^^^^^^^^^^^^^^^^^
402
403 error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated_text`: text
404 --> $DIR/deprecation-lint.rs:29:13
405 |
406 LL | foo.trait_deprecated_text();
407 | ^^^^^^^^^^^^^^^^^^^^^
408
409 error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated_text`: text
410 --> $DIR/deprecation-lint.rs:31:16
411 |
412 LL | ... <Foo>::trait_deprecated_text(&foo);
413 | ^^^^^^^^^^^^^^^^^^^^^
414
415 error: use of deprecated field `deprecation_lint::DeprecatedStruct::i`: text
416 --> $DIR/deprecation-lint.rs:35:13
417 |
418 LL | i: 0
419 | ^^^^
420
421 error: use of deprecated field `deprecation_lint::nested::DeprecatedStruct::i`: text
422 --> $DIR/deprecation-lint.rs:45:13
423 |
424 LL | i: 0
425 | ^^^^
426
427 error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated`: text
428 --> $DIR/deprecation-lint.rs:64:13
429 |
430 LL | foo.trait_deprecated();
431 | ^^^^^^^^^^^^^^^^
432
433 error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated`: text
434 --> $DIR/deprecation-lint.rs:66:16
435 |
436 LL | <Foo>::trait_deprecated(&foo);
437 | ^^^^^^^^^^^^^^^^
438
439 error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated_text`: text
440 --> $DIR/deprecation-lint.rs:68:13
441 |
442 LL | foo.trait_deprecated_text();
443 | ^^^^^^^^^^^^^^^^^^^^^
444
445 error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated_text`: text
446 --> $DIR/deprecation-lint.rs:70:16
447 |
448 LL | ... <Foo>::trait_deprecated_text(&foo);
449 | ^^^^^^^^^^^^^^^^^^^^^
450
451 error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated`: text
452 --> $DIR/deprecation-lint.rs:75:13
453 |
454 LL | foo.trait_deprecated();
455 | ^^^^^^^^^^^^^^^^
456
457 error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated_text`: text
458 --> $DIR/deprecation-lint.rs:76:13
459 |
460 LL | foo.trait_deprecated_text();
461 | ^^^^^^^^^^^^^^^^^^^^^
462
463 error: use of deprecated field `deprecation_lint::Stable::override2`: text
464 --> $DIR/deprecation-lint.rs:86:13
465 |
466 LL | override2: 3,
467 | ^^^^^^^^^^^^
468
469 error: use of deprecated field `deprecation_lint::Stable::override2`: text
470 --> $DIR/deprecation-lint.rs:90:17
471 |
472 LL | let _ = x.override2;
473 | ^^^^^^^^^^^
474
475 error: use of deprecated field `deprecation_lint::Stable::override2`: text
476 --> $DIR/deprecation-lint.rs:94:13
477 |
478 LL | override2: _
479 | ^^^^^^^^^^^^
480
481 error: use of deprecated field `deprecation_lint::Stable2::2`: text
482 --> $DIR/deprecation-lint.rs:102:17
483 |
484 LL | let _ = x.2;
485 | ^^^
486
487 error: use of deprecated field `deprecation_lint::Stable2::2`: text
488 --> $DIR/deprecation-lint.rs:107:20
489 |
490 LL | _)
491 | ^
492
493 error: use of deprecated field `deprecation_lint::Deprecated::inherit`: text
494 --> $DIR/deprecation-lint.rs:115:13
495 |
496 LL | inherit: 1,
497 | ^^^^^^^^^^
498
499 error: use of deprecated field `deprecation_lint::Deprecated::inherit`: text
500 --> $DIR/deprecation-lint.rs:119:17
501 |
502 LL | let _ = x.inherit;
503 | ^^^^^^^^^
504
505 error: use of deprecated field `deprecation_lint::Deprecated::inherit`: text
506 --> $DIR/deprecation-lint.rs:124:13
507 |
508 LL | inherit: _,
509 | ^^^^^^^^^^
510
511 error: use of deprecated field `deprecation_lint::Deprecated2::0`: text
512 --> $DIR/deprecation-lint.rs:135:17
513 |
514 LL | let _ = x.0;
515 | ^^^
516
517 error: use of deprecated field `deprecation_lint::Deprecated2::1`: text
518 --> $DIR/deprecation-lint.rs:137:17
519 |
520 LL | let _ = x.1;
521 | ^^^
522
523 error: use of deprecated field `deprecation_lint::Deprecated2::2`: text
524 --> $DIR/deprecation-lint.rs:139:17
525 |
526 LL | let _ = x.2;
527 | ^^^
528
529 error: use of deprecated field `deprecation_lint::Deprecated2::0`: text
530 --> $DIR/deprecation-lint.rs:144:14
531 |
532 LL | (_,
533 | ^
534
535 error: use of deprecated field `deprecation_lint::Deprecated2::1`: text
536 --> $DIR/deprecation-lint.rs:146:14
537 |
538 LL | _,
539 | ^
540
541 error: use of deprecated field `deprecation_lint::Deprecated2::2`: text
542 --> $DIR/deprecation-lint.rs:148:14
543 |
544 LL | _)
545 | ^
546
547 error: use of deprecated associated function `this_crate::MethodTester::method_deprecated`: text
548 --> $DIR/deprecation-lint.rs:246:13
549 |
550 LL | foo.method_deprecated();
551 | ^^^^^^^^^^^^^^^^^
552
553 error: use of deprecated associated function `this_crate::MethodTester::method_deprecated`: text
554 --> $DIR/deprecation-lint.rs:247:14
555 |
556 LL | Foo::method_deprecated(&foo);
557 | ^^^^^^^^^^^^^^^^^
558
559 error: use of deprecated associated function `this_crate::MethodTester::method_deprecated`: text
560 --> $DIR/deprecation-lint.rs:248:16
561 |
562 LL | <Foo>::method_deprecated(&foo);
563 | ^^^^^^^^^^^^^^^^^
564
565 error: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
566 --> $DIR/deprecation-lint.rs:249:13
567 |
568 LL | foo.trait_deprecated();
569 | ^^^^^^^^^^^^^^^^
570
571 error: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
572 --> $DIR/deprecation-lint.rs:251:16
573 |
574 LL | <Foo>::trait_deprecated(&foo);
575 | ^^^^^^^^^^^^^^^^
576
577 error: use of deprecated associated function `this_crate::MethodTester::method_deprecated_text`: text
578 --> $DIR/deprecation-lint.rs:255:13
579 |
580 LL | ... foo.method_deprecated_text();
581 | ^^^^^^^^^^^^^^^^^^^^^^
582
583 error: use of deprecated associated function `this_crate::MethodTester::method_deprecated_text`: text
584 --> $DIR/deprecation-lint.rs:256:14
585 |
586 LL | ... Foo::method_deprecated_text(&foo);
587 | ^^^^^^^^^^^^^^^^^^^^^^
588
589 error: use of deprecated associated function `this_crate::MethodTester::method_deprecated_text`: text
590 --> $DIR/deprecation-lint.rs:257:16
591 |
592 LL | ... <Foo>::method_deprecated_text(&foo);
593 | ^^^^^^^^^^^^^^^^^^^^^^
594
595 error: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
596 --> $DIR/deprecation-lint.rs:258:13
597 |
598 LL | foo.trait_deprecated_text();
599 | ^^^^^^^^^^^^^^^^^^^^^
600
601 error: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
602 --> $DIR/deprecation-lint.rs:260:16
603 |
604 LL | <Foo>::trait_deprecated_text(&foo);
605 | ^^^^^^^^^^^^^^^^^^^^^
606
607 error: use of deprecated field `this_crate::DeprecatedStruct::i`: text
608 --> $DIR/deprecation-lint.rs:269:13
609 |
610 LL | i: 0
611 | ^^^^
612
613 error: use of deprecated field `this_crate::nested::DeprecatedStruct::i`: text
614 --> $DIR/deprecation-lint.rs:280:13
615 |
616 LL | i: 0
617 | ^^^^
618
619 error: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
620 --> $DIR/deprecation-lint.rs:292:13
621 |
622 LL | foo.trait_deprecated();
623 | ^^^^^^^^^^^^^^^^
624
625 error: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
626 --> $DIR/deprecation-lint.rs:294:16
627 |
628 LL | <Foo>::trait_deprecated(&foo);
629 | ^^^^^^^^^^^^^^^^
630
631 error: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
632 --> $DIR/deprecation-lint.rs:296:13
633 |
634 LL | foo.trait_deprecated_text();
635 | ^^^^^^^^^^^^^^^^^^^^^
636
637 error: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
638 --> $DIR/deprecation-lint.rs:298:16
639 |
640 LL | <Foo>::trait_deprecated_text(&foo);
641 | ^^^^^^^^^^^^^^^^^^^^^
642
643 error: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
644 --> $DIR/deprecation-lint.rs:303:13
645 |
646 LL | foo.trait_deprecated();
647 | ^^^^^^^^^^^^^^^^
648
649 error: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
650 --> $DIR/deprecation-lint.rs:304:13
651 |
652 LL | foo.trait_deprecated_text();
653 | ^^^^^^^^^^^^^^^^^^^^^
654
655 error: use of deprecated field `this_crate2::Stable::override2`: text
656 --> $DIR/deprecation-lint.rs:363:13
657 |
658 LL | override2: 3,
659 | ^^^^^^^^^^^^
660
661 error: use of deprecated field `this_crate2::Stable::override2`: text
662 --> $DIR/deprecation-lint.rs:367:17
663 |
664 LL | let _ = x.override2;
665 | ^^^^^^^^^^^
666
667 error: use of deprecated field `this_crate2::Stable::override2`: text
668 --> $DIR/deprecation-lint.rs:371:13
669 |
670 LL | override2: _
671 | ^^^^^^^^^^^^
672
673 error: use of deprecated field `this_crate2::Stable2::2`: text
674 --> $DIR/deprecation-lint.rs:379:17
675 |
676 LL | let _ = x.2;
677 | ^^^
678
679 error: use of deprecated field `this_crate2::Stable2::2`: text
680 --> $DIR/deprecation-lint.rs:384:20
681 |
682 LL | _)
683 | ^
684
685 error: use of deprecated field `this_crate2::Deprecated::inherit`: text
686 --> $DIR/deprecation-lint.rs:392:13
687 |
688 LL | inherit: 1,
689 | ^^^^^^^^^^
690
691 error: use of deprecated field `this_crate2::Deprecated::inherit`: text
692 --> $DIR/deprecation-lint.rs:396:17
693 |
694 LL | let _ = x.inherit;
695 | ^^^^^^^^^
696
697 error: use of deprecated field `this_crate2::Deprecated::inherit`: text
698 --> $DIR/deprecation-lint.rs:401:13
699 |
700 LL | inherit: _,
701 | ^^^^^^^^^^
702
703 error: use of deprecated field `this_crate2::Deprecated2::0`: text
704 --> $DIR/deprecation-lint.rs:413:17
705 |
706 LL | let _ = x.0;
707 | ^^^
708
709 error: use of deprecated field `this_crate2::Deprecated2::1`: text
710 --> $DIR/deprecation-lint.rs:415:17
711 |
712 LL | let _ = x.1;
713 | ^^^
714
715 error: use of deprecated field `this_crate2::Deprecated2::2`: text
716 --> $DIR/deprecation-lint.rs:417:17
717 |
718 LL | let _ = x.2;
719 | ^^^
720
721 error: use of deprecated field `this_crate2::Deprecated2::0`: text
722 --> $DIR/deprecation-lint.rs:422:14
723 |
724 LL | (_,
725 | ^
726
727 error: use of deprecated field `this_crate2::Deprecated2::1`: text
728 --> $DIR/deprecation-lint.rs:424:14
729 |
730 LL | _,
731 | ^
732
733 error: use of deprecated field `this_crate2::Deprecated2::2`: text
734 --> $DIR/deprecation-lint.rs:426:14
735 |
736 LL | _)
737 | ^
738
739 error[E0451]: field `i` of struct `this_crate::nested::DeprecatedStruct` is private
740 --> $DIR/deprecation-lint.rs:280:13
741 |
742 LL | i: 0
743 | ^^^^ private field
744
745 error: aborting due to 123 previous errors
746
747 For more information about this error, try `rustc --explain E0451`.