fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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