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