1 error: use of deprecated item 'deprecation_lint::deprecated': text
2 --> $DIR/deprecation-lint.rs:17:9
7 note: the lint level is defined here
8 --> $DIR/deprecation-lint.rs:4:9
10 LL | #![deny(deprecated)]
13 error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated': text
14 --> $DIR/deprecation-lint.rs:22:9
16 LL | Trait::trait_deprecated(&foo);
17 | ^^^^^^^^^^^^^^^^^^^^^^^
19 error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated': text
20 --> $DIR/deprecation-lint.rs:24:9
22 LL | <Foo as Trait>::trait_deprecated(&foo);
23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
25 error: use of deprecated item 'deprecation_lint::deprecated_text': text
26 --> $DIR/deprecation-lint.rs:26:9
28 LL | deprecated_text();
31 error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
32 --> $DIR/deprecation-lint.rs:31:9
34 LL | Trait::trait_deprecated_text(&foo);
35 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
37 error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
38 --> $DIR/deprecation-lint.rs:33:9
40 LL | <Foo as Trait>::trait_deprecated_text(&foo);
41 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
43 error: use of deprecated item 'deprecation_lint::DeprecatedStruct': text
44 --> $DIR/deprecation-lint.rs:35:17
46 LL | let _ = DeprecatedStruct {
49 error: use of deprecated item 'deprecation_lint::DeprecatedUnitStruct': text
50 --> $DIR/deprecation-lint.rs:39:17
52 LL | let _ = DeprecatedUnitStruct;
53 | ^^^^^^^^^^^^^^^^^^^^
55 error: use of deprecated item 'deprecation_lint::Enum::DeprecatedVariant': text
56 --> $DIR/deprecation-lint.rs:41:17
58 LL | let _ = Enum::DeprecatedVariant;
59 | ^^^^^^^^^^^^^^^^^^^^^^^
61 error: use of deprecated item 'deprecation_lint::DeprecatedTupleStruct': text
62 --> $DIR/deprecation-lint.rs:43:17
64 LL | let _ = DeprecatedTupleStruct (1);
65 | ^^^^^^^^^^^^^^^^^^^^^
67 error: use of deprecated item 'deprecation_lint::nested::DeprecatedStruct': text
68 --> $DIR/deprecation-lint.rs:45:17
70 LL | let _ = nested::DeprecatedStruct {
71 | ^^^^^^^^^^^^^^^^^^^^^^^^
73 error: use of deprecated item 'deprecation_lint::nested::DeprecatedUnitStruct': text
74 --> $DIR/deprecation-lint.rs:49:17
76 LL | let _ = nested::DeprecatedUnitStruct;
77 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
79 error: use of deprecated item 'deprecation_lint::nested::Enum::DeprecatedVariant': text
80 --> $DIR/deprecation-lint.rs:51:17
82 LL | let _ = nested::Enum::DeprecatedVariant;
83 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
85 error: use of deprecated item 'deprecation_lint::nested::DeprecatedTupleStruct': text
86 --> $DIR/deprecation-lint.rs:53:17
88 LL | let _ = nested::DeprecatedTupleStruct (1);
89 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
91 error: use of deprecated item 'deprecation_lint::deprecated_text': text
92 --> $DIR/deprecation-lint.rs:60:25
94 LL | macro_test_arg!(deprecated_text());
97 error: use of deprecated item 'deprecation_lint::deprecated_text': text
98 --> $DIR/deprecation-lint.rs:61:41
100 LL | macro_test_arg!(macro_test_arg!(deprecated_text()));
103 error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated': text
104 --> $DIR/deprecation-lint.rs:66:9
106 LL | Trait::trait_deprecated(&foo);
107 | ^^^^^^^^^^^^^^^^^^^^^^^
109 error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated': text
110 --> $DIR/deprecation-lint.rs:68:9
112 LL | <Foo as Trait>::trait_deprecated(&foo);
113 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
115 error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
116 --> $DIR/deprecation-lint.rs:70:9
118 LL | Trait::trait_deprecated_text(&foo);
119 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
121 error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
122 --> $DIR/deprecation-lint.rs:72:9
124 LL | <Foo as Trait>::trait_deprecated_text(&foo);
125 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
127 error: use of deprecated item 'deprecation_lint::DeprecatedTrait': text
128 --> $DIR/deprecation-lint.rs:82:10
130 LL | impl DeprecatedTrait for S {}
133 error: use of deprecated item 'deprecation_lint::DeprecatedTrait': text
134 --> $DIR/deprecation-lint.rs:83:24
136 LL | trait LocalTrait : DeprecatedTrait { }
139 error: use of deprecated item 'deprecation_lint::Deprecated': text
140 --> $DIR/deprecation-lint.rs:114:17
142 LL | let x = Deprecated {
145 error: use of deprecated item 'deprecation_lint::Deprecated': text
146 --> $DIR/deprecation-lint.rs:123:13
148 LL | let Deprecated {
151 error: use of deprecated item 'deprecation_lint::Deprecated': text
152 --> $DIR/deprecation-lint.rs:129:13
157 error: use of deprecated item 'deprecation_lint::Deprecated2': text
158 --> $DIR/deprecation-lint.rs:133:17
160 LL | let x = Deprecated2(1, 2, 3);
163 error: use of deprecated item 'deprecation_lint::Deprecated2': text
164 --> $DIR/deprecation-lint.rs:143:13
169 error: use of deprecated item 'deprecation_lint::Deprecated2': text
170 --> $DIR/deprecation-lint.rs:152:13
175 error: use of deprecated item 'deprecation_lint::deprecated_mod::deprecated': text
176 --> $DIR/deprecation-lint.rs:163:9
178 LL | deprecated_mod::deprecated();
179 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
181 error: use of deprecated item 'this_crate::deprecated': text
182 --> $DIR/deprecation-lint.rs:246:9
187 error: use of deprecated item 'this_crate::Trait::trait_deprecated': text
188 --> $DIR/deprecation-lint.rs:251:9
190 LL | Trait::trait_deprecated(&foo);
191 | ^^^^^^^^^^^^^^^^^^^^^^^
193 error: use of deprecated item 'this_crate::Trait::trait_deprecated': text
194 --> $DIR/deprecation-lint.rs:253:9
196 LL | <Foo as Trait>::trait_deprecated(&foo);
197 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
199 error: use of deprecated item 'this_crate::deprecated_text': text
200 --> $DIR/deprecation-lint.rs:255:9
202 LL | deprecated_text();
205 error: use of deprecated item 'this_crate::Trait::trait_deprecated_text': text
206 --> $DIR/deprecation-lint.rs:260:9
208 LL | Trait::trait_deprecated_text(&foo);
209 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
211 error: use of deprecated item 'this_crate::Trait::trait_deprecated_text': text
212 --> $DIR/deprecation-lint.rs:262:9
214 LL | <Foo as Trait>::trait_deprecated_text(&foo);
215 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
217 error: use of deprecated item 'this_crate::deprecated_future': text
218 --> $DIR/deprecation-lint.rs:265:9
220 LL | deprecated_future();
223 error: use of deprecated item 'this_crate::deprecated_future_text': text
224 --> $DIR/deprecation-lint.rs:266:9
226 LL | deprecated_future_text();
227 | ^^^^^^^^^^^^^^^^^^^^^^
229 error: use of deprecated item 'this_crate::DeprecatedStruct': text
230 --> $DIR/deprecation-lint.rs:268:17
232 LL | let _ = DeprecatedStruct {
235 error: use of deprecated item 'this_crate::DeprecatedUnitStruct': text
236 --> $DIR/deprecation-lint.rs:273:17
238 LL | let _ = DeprecatedUnitStruct;
239 | ^^^^^^^^^^^^^^^^^^^^
241 error: use of deprecated item 'this_crate::Enum::DeprecatedVariant': text
242 --> $DIR/deprecation-lint.rs:275:17
244 LL | let _ = Enum::DeprecatedVariant;
245 | ^^^^^^^^^^^^^^^^^^^^^^^
247 error: use of deprecated item 'this_crate::DeprecatedTupleStruct': text
248 --> $DIR/deprecation-lint.rs:277:17
250 LL | let _ = DeprecatedTupleStruct (1);
251 | ^^^^^^^^^^^^^^^^^^^^^
253 error: use of deprecated item 'this_crate::nested::DeprecatedStruct': text
254 --> $DIR/deprecation-lint.rs:279:17
256 LL | let _ = nested::DeprecatedStruct {
257 | ^^^^^^^^^^^^^^^^^^^^^^^^
259 error: use of deprecated item 'this_crate::nested::DeprecatedUnitStruct': text
260 --> $DIR/deprecation-lint.rs:284:17
262 LL | let _ = nested::DeprecatedUnitStruct;
263 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
265 error: use of deprecated item 'this_crate::nested::Enum::DeprecatedVariant': text
266 --> $DIR/deprecation-lint.rs:286:17
268 LL | let _ = nested::Enum::DeprecatedVariant;
269 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
271 error: use of deprecated item 'this_crate::nested::DeprecatedTupleStruct': text
272 --> $DIR/deprecation-lint.rs:288:17
274 LL | let _ = nested::DeprecatedTupleStruct (1);
275 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
277 error: use of deprecated item 'this_crate::Trait::trait_deprecated': text
278 --> $DIR/deprecation-lint.rs:293:9
280 LL | Trait::trait_deprecated(&foo);
281 | ^^^^^^^^^^^^^^^^^^^^^^^
283 error: use of deprecated item 'this_crate::Trait::trait_deprecated': text
284 --> $DIR/deprecation-lint.rs:295:9
286 LL | <Foo as Trait>::trait_deprecated(&foo);
287 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
289 error: use of deprecated item 'this_crate::Trait::trait_deprecated_text': text
290 --> $DIR/deprecation-lint.rs:297:9
292 LL | Trait::trait_deprecated_text(&foo);
293 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
295 error: use of deprecated item 'this_crate::Trait::trait_deprecated_text': text
296 --> $DIR/deprecation-lint.rs:299:9
298 LL | <Foo as Trait>::trait_deprecated_text(&foo);
299 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
301 error: use of deprecated item 'this_crate::test_fn_closure_body::{{closure}}#0::bar'
302 --> $DIR/deprecation-lint.rs:317:13
307 error: use of deprecated item 'this_crate::DeprecatedTrait': text
308 --> $DIR/deprecation-lint.rs:336:10
310 LL | impl DeprecatedTrait for S { }
313 error: use of deprecated item 'this_crate::DeprecatedTrait': text
314 --> $DIR/deprecation-lint.rs:338:24
316 LL | trait LocalTrait : DeprecatedTrait { }
319 error: use of deprecated item 'this_crate2::Deprecated': text
320 --> $DIR/deprecation-lint.rs:390:17
322 LL | let x = Deprecated {
325 error: use of deprecated item 'this_crate2::Deprecated': text
326 --> $DIR/deprecation-lint.rs:399:13
328 LL | let Deprecated {
331 error: use of deprecated item 'this_crate2::Deprecated': text
332 --> $DIR/deprecation-lint.rs:405:13
337 error: use of deprecated item 'this_crate2::Deprecated2': text
338 --> $DIR/deprecation-lint.rs:410:17
340 LL | let x = Deprecated2(1, 2, 3);
343 error: use of deprecated item 'this_crate2::Deprecated2': text
344 --> $DIR/deprecation-lint.rs:420:13
349 error: use of deprecated item 'this_crate2::Deprecated2': text
350 --> $DIR/deprecation-lint.rs:429:13
355 error: use of deprecated item 'deprecation_lint::MethodTester::method_deprecated': text
356 --> $DIR/deprecation-lint.rs:18:13
358 LL | foo.method_deprecated();
361 error: use of deprecated item 'deprecation_lint::MethodTester::method_deprecated': text
362 --> $DIR/deprecation-lint.rs:19:9
364 LL | Foo::method_deprecated(&foo);
365 | ^^^^^^^^^^^^^^^^^^^^^^
367 error: use of deprecated item 'deprecation_lint::MethodTester::method_deprecated': text
368 --> $DIR/deprecation-lint.rs:20:9
370 LL | <Foo>::method_deprecated(&foo);
371 | ^^^^^^^^^^^^^^^^^^^^^^^^
373 error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated': text
374 --> $DIR/deprecation-lint.rs:21:13
376 LL | foo.trait_deprecated();
379 error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated': text
380 --> $DIR/deprecation-lint.rs:23:9
382 LL | <Foo>::trait_deprecated(&foo);
383 | ^^^^^^^^^^^^^^^^^^^^^^^
385 error: use of deprecated item 'deprecation_lint::MethodTester::method_deprecated_text': text
386 --> $DIR/deprecation-lint.rs:27:13
388 LL | foo.method_deprecated_text();
389 | ^^^^^^^^^^^^^^^^^^^^^^
391 error: use of deprecated item 'deprecation_lint::MethodTester::method_deprecated_text': text
392 --> $DIR/deprecation-lint.rs:28:9
394 LL | Foo::method_deprecated_text(&foo);
395 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
397 error: use of deprecated item 'deprecation_lint::MethodTester::method_deprecated_text': text
398 --> $DIR/deprecation-lint.rs:29:9
400 LL | <Foo>::method_deprecated_text(&foo);
401 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
403 error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
404 --> $DIR/deprecation-lint.rs:30:13
406 LL | foo.trait_deprecated_text();
407 | ^^^^^^^^^^^^^^^^^^^^^
409 error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
410 --> $DIR/deprecation-lint.rs:32:9
412 LL | <Foo>::trait_deprecated_text(&foo);
413 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
415 error: use of deprecated item 'deprecation_lint::DeprecatedStruct::i': text
416 --> $DIR/deprecation-lint.rs:36:13
421 error: use of deprecated item 'deprecation_lint::nested::DeprecatedStruct::i': text
422 --> $DIR/deprecation-lint.rs:46:13
427 error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated': text
428 --> $DIR/deprecation-lint.rs:65:13
430 LL | foo.trait_deprecated();
433 error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated': text
434 --> $DIR/deprecation-lint.rs:67:9
436 LL | <Foo>::trait_deprecated(&foo);
437 | ^^^^^^^^^^^^^^^^^^^^^^^
439 error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
440 --> $DIR/deprecation-lint.rs:69:13
442 LL | foo.trait_deprecated_text();
443 | ^^^^^^^^^^^^^^^^^^^^^
445 error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
446 --> $DIR/deprecation-lint.rs:71:9
448 LL | <Foo>::trait_deprecated_text(&foo);
449 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
451 error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated': text
452 --> $DIR/deprecation-lint.rs:76:13
454 LL | foo.trait_deprecated();
457 error: use of deprecated item 'deprecation_lint::Trait::trait_deprecated_text': text
458 --> $DIR/deprecation-lint.rs:77:13
460 LL | foo.trait_deprecated_text();
461 | ^^^^^^^^^^^^^^^^^^^^^
463 error: use of deprecated item 'deprecation_lint::Stable::override2': text
464 --> $DIR/deprecation-lint.rs:87:13
469 error: use of deprecated item 'deprecation_lint::Stable::override2': text
470 --> $DIR/deprecation-lint.rs:91:17
472 LL | let _ = x.override2;
475 error: use of deprecated item 'deprecation_lint::Stable::override2': text
476 --> $DIR/deprecation-lint.rs:95:13
481 error: use of deprecated item 'deprecation_lint::Stable2::2': text
482 --> $DIR/deprecation-lint.rs:103:17
487 error: use of deprecated item 'deprecation_lint::Stable2::2': text
488 --> $DIR/deprecation-lint.rs:108:20
493 error: use of deprecated item 'deprecation_lint::Deprecated::inherit': text
494 --> $DIR/deprecation-lint.rs:116:13
499 error: use of deprecated item 'deprecation_lint::Deprecated::inherit': text
500 --> $DIR/deprecation-lint.rs:120:17
502 LL | let _ = x.inherit;
505 error: use of deprecated item 'deprecation_lint::Deprecated::inherit': text
506 --> $DIR/deprecation-lint.rs:125:13
511 error: use of deprecated item 'deprecation_lint::Deprecated2::0': text
512 --> $DIR/deprecation-lint.rs:136:17
517 error: use of deprecated item 'deprecation_lint::Deprecated2::1': text
518 --> $DIR/deprecation-lint.rs:138:17
523 error: use of deprecated item 'deprecation_lint::Deprecated2::2': text
524 --> $DIR/deprecation-lint.rs:140:17
529 error: use of deprecated item 'deprecation_lint::Deprecated2::0': text
530 --> $DIR/deprecation-lint.rs:145:14
535 error: use of deprecated item 'deprecation_lint::Deprecated2::1': text
536 --> $DIR/deprecation-lint.rs:147:14
541 error: use of deprecated item 'deprecation_lint::Deprecated2::2': text
542 --> $DIR/deprecation-lint.rs:149:14
547 error: use of deprecated item 'this_crate::MethodTester::method_deprecated': text
548 --> $DIR/deprecation-lint.rs:247:13
550 LL | foo.method_deprecated();
553 error: use of deprecated item 'this_crate::MethodTester::method_deprecated': text
554 --> $DIR/deprecation-lint.rs:248:9
556 LL | Foo::method_deprecated(&foo);
557 | ^^^^^^^^^^^^^^^^^^^^^^
559 error: use of deprecated item 'this_crate::MethodTester::method_deprecated': text
560 --> $DIR/deprecation-lint.rs:249:9
562 LL | <Foo>::method_deprecated(&foo);
563 | ^^^^^^^^^^^^^^^^^^^^^^^^
565 error: use of deprecated item 'this_crate::Trait::trait_deprecated': text
566 --> $DIR/deprecation-lint.rs:250:13
568 LL | foo.trait_deprecated();
571 error: use of deprecated item 'this_crate::Trait::trait_deprecated': text
572 --> $DIR/deprecation-lint.rs:252:9
574 LL | <Foo>::trait_deprecated(&foo);
575 | ^^^^^^^^^^^^^^^^^^^^^^^
577 error: use of deprecated item 'this_crate::MethodTester::method_deprecated_text': text
578 --> $DIR/deprecation-lint.rs:256:13
580 LL | foo.method_deprecated_text();
581 | ^^^^^^^^^^^^^^^^^^^^^^
583 error: use of deprecated item 'this_crate::MethodTester::method_deprecated_text': text
584 --> $DIR/deprecation-lint.rs:257:9
586 LL | Foo::method_deprecated_text(&foo);
587 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
589 error: use of deprecated item 'this_crate::MethodTester::method_deprecated_text': text
590 --> $DIR/deprecation-lint.rs:258:9
592 LL | <Foo>::method_deprecated_text(&foo);
593 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
595 error: use of deprecated item 'this_crate::Trait::trait_deprecated_text': text
596 --> $DIR/deprecation-lint.rs:259:13
598 LL | foo.trait_deprecated_text();
599 | ^^^^^^^^^^^^^^^^^^^^^
601 error: use of deprecated item 'this_crate::Trait::trait_deprecated_text': text
602 --> $DIR/deprecation-lint.rs:261:9
604 LL | <Foo>::trait_deprecated_text(&foo);
605 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
607 error: use of deprecated item 'this_crate::DeprecatedStruct::i': text
608 --> $DIR/deprecation-lint.rs:270:13
613 error: use of deprecated item 'this_crate::nested::DeprecatedStruct::i': text
614 --> $DIR/deprecation-lint.rs:281:13
619 error: use of deprecated item 'this_crate::Trait::trait_deprecated': text
620 --> $DIR/deprecation-lint.rs:292:13
622 LL | foo.trait_deprecated();
625 error: use of deprecated item 'this_crate::Trait::trait_deprecated': text
626 --> $DIR/deprecation-lint.rs:294:9
628 LL | <Foo>::trait_deprecated(&foo);
629 | ^^^^^^^^^^^^^^^^^^^^^^^
631 error: use of deprecated item 'this_crate::Trait::trait_deprecated_text': text
632 --> $DIR/deprecation-lint.rs:296:13
634 LL | foo.trait_deprecated_text();
635 | ^^^^^^^^^^^^^^^^^^^^^
637 error: use of deprecated item 'this_crate::Trait::trait_deprecated_text': text
638 --> $DIR/deprecation-lint.rs:298:9
640 LL | <Foo>::trait_deprecated_text(&foo);
641 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
643 error: use of deprecated item 'this_crate::Trait::trait_deprecated': text
644 --> $DIR/deprecation-lint.rs:303:13
646 LL | foo.trait_deprecated();
649 error: use of deprecated item 'this_crate::Trait::trait_deprecated_text': text
650 --> $DIR/deprecation-lint.rs:304:13
652 LL | foo.trait_deprecated_text();
653 | ^^^^^^^^^^^^^^^^^^^^^
655 error: use of deprecated item 'this_crate2::Stable::override2': text
656 --> $DIR/deprecation-lint.rs:363:13
661 error: use of deprecated item 'this_crate2::Stable::override2': text
662 --> $DIR/deprecation-lint.rs:367:17
664 LL | let _ = x.override2;
667 error: use of deprecated item 'this_crate2::Stable::override2': text
668 --> $DIR/deprecation-lint.rs:371:13
673 error: use of deprecated item 'this_crate2::Stable2::2': text
674 --> $DIR/deprecation-lint.rs:379:17
679 error: use of deprecated item 'this_crate2::Stable2::2': text
680 --> $DIR/deprecation-lint.rs:384:20
685 error: use of deprecated item 'this_crate2::Deprecated::inherit': text
686 --> $DIR/deprecation-lint.rs:392:13
691 error: use of deprecated item 'this_crate2::Deprecated::inherit': text
692 --> $DIR/deprecation-lint.rs:396:17
694 LL | let _ = x.inherit;
697 error: use of deprecated item 'this_crate2::Deprecated::inherit': text
698 --> $DIR/deprecation-lint.rs:401:13
703 error: use of deprecated item 'this_crate2::Deprecated2::0': text
704 --> $DIR/deprecation-lint.rs:413:17
709 error: use of deprecated item 'this_crate2::Deprecated2::1': text
710 --> $DIR/deprecation-lint.rs:415:17
715 error: use of deprecated item 'this_crate2::Deprecated2::2': text
716 --> $DIR/deprecation-lint.rs:417:17
721 error: use of deprecated item 'this_crate2::Deprecated2::0': text
722 --> $DIR/deprecation-lint.rs:422:14
727 error: use of deprecated item 'this_crate2::Deprecated2::1': text
728 --> $DIR/deprecation-lint.rs:424:14
733 error: use of deprecated item 'this_crate2::Deprecated2::2': text
734 --> $DIR/deprecation-lint.rs:426:14
739 error: aborting due to 122 previous errors