1 warning: use of deprecated function `lint_stability::deprecated`: text
2 --> $DIR/lint-stability-deprecated.rs:24:9
7 note: the lint level is defined here
8 --> $DIR/lint-stability-deprecated.rs:6:9
10 LL | #![warn(deprecated)]
13 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated`: text
14 --> $DIR/lint-stability-deprecated.rs:29:9
16 LL | Trait::trait_deprecated(&foo);
17 | ^^^^^^^^^^^^^^^^^^^^^^^
19 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated`: text
20 --> $DIR/lint-stability-deprecated.rs:31:9
22 LL | <Foo as Trait>::trait_deprecated(&foo);
23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
25 warning: use of deprecated function `lint_stability::deprecated_text`: text
26 --> $DIR/lint-stability-deprecated.rs:33:9
28 LL | deprecated_text();
31 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_text`: text
32 --> $DIR/lint-stability-deprecated.rs:38:9
34 LL | ... Trait::trait_deprecated_text(&foo);
35 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
37 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_text`: text
38 --> $DIR/lint-stability-deprecated.rs:40:9
40 LL | ... <Foo as Trait>::trait_deprecated_text(&foo);
41 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
43 warning: use of deprecated function `lint_stability::deprecated_unstable`: text
44 --> $DIR/lint-stability-deprecated.rs:42:9
46 LL | deprecated_unstable();
49 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable`: text
50 --> $DIR/lint-stability-deprecated.rs:47:9
52 LL | ... Trait::trait_deprecated_unstable(&foo);
53 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
55 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable`: text
56 --> $DIR/lint-stability-deprecated.rs:49:9
58 LL | ... <Foo as Trait>::trait_deprecated_unstable(&foo);
59 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
61 warning: use of deprecated function `lint_stability::deprecated_unstable_text`: text
62 --> $DIR/lint-stability-deprecated.rs:51:9
64 LL | deprecated_unstable_text();
65 | ^^^^^^^^^^^^^^^^^^^^^^^^
67 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable_text`: text
68 --> $DIR/lint-stability-deprecated.rs:56:9
70 LL | ... Trait::trait_deprecated_unstable_text(&foo);
71 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
73 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable_text`: text
74 --> $DIR/lint-stability-deprecated.rs:58:9
76 LL | ... <Foo as Trait>::trait_deprecated_unstable_text(&foo);
77 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
79 warning: use of deprecated struct `lint_stability::DeprecatedStruct`: text
80 --> $DIR/lint-stability-deprecated.rs:108:17
82 LL | let _ = DeprecatedStruct {
85 warning: use of deprecated struct `lint_stability::DeprecatedUnstableStruct`: text
86 --> $DIR/lint-stability-deprecated.rs:111:17
88 LL | let _ = DeprecatedUnstableStruct {
89 | ^^^^^^^^^^^^^^^^^^^^^^^^
91 warning: use of deprecated struct `lint_stability::DeprecatedUnitStruct`: text
92 --> $DIR/lint-stability-deprecated.rs:118:17
94 LL | let _ = DeprecatedUnitStruct;
95 | ^^^^^^^^^^^^^^^^^^^^
97 warning: use of deprecated struct `lint_stability::DeprecatedUnstableUnitStruct`: text
98 --> $DIR/lint-stability-deprecated.rs:119:17
100 LL | let _ = DeprecatedUnstableUnitStruct;
101 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
103 warning: use of deprecated variant `lint_stability::Enum::DeprecatedVariant`: text
104 --> $DIR/lint-stability-deprecated.rs:123:17
106 LL | let _ = Enum::DeprecatedVariant;
107 | ^^^^^^^^^^^^^^^^^^^^^^^
109 warning: use of deprecated variant `lint_stability::Enum::DeprecatedUnstableVariant`: text
110 --> $DIR/lint-stability-deprecated.rs:124:17
112 LL | let _ = Enum::DeprecatedUnstableVariant;
113 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
115 warning: use of deprecated struct `lint_stability::DeprecatedTupleStruct`: text
116 --> $DIR/lint-stability-deprecated.rs:128:17
118 LL | let _ = DeprecatedTupleStruct (1);
119 | ^^^^^^^^^^^^^^^^^^^^^
121 warning: use of deprecated struct `lint_stability::DeprecatedUnstableTupleStruct`: text
122 --> $DIR/lint-stability-deprecated.rs:129:17
124 LL | let _ = DeprecatedUnstableTupleStruct (1);
125 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
127 warning: use of deprecated function `lint_stability::deprecated_text`: text
128 --> $DIR/lint-stability-deprecated.rs:138:25
130 LL | macro_test_arg!(deprecated_text());
133 warning: use of deprecated function `lint_stability::deprecated_unstable_text`: text
134 --> $DIR/lint-stability-deprecated.rs:139:25
136 LL | macro_test_arg!(deprecated_unstable_text());
137 | ^^^^^^^^^^^^^^^^^^^^^^^^
139 warning: use of deprecated function `lint_stability::deprecated_text`: text
140 --> $DIR/lint-stability-deprecated.rs:140:41
142 LL | macro_test_arg!(macro_test_arg!(deprecated_text()));
145 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated`: text
146 --> $DIR/lint-stability-deprecated.rs:145:9
148 LL | Trait::trait_deprecated(&foo);
149 | ^^^^^^^^^^^^^^^^^^^^^^^
151 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated`: text
152 --> $DIR/lint-stability-deprecated.rs:147:9
154 LL | <Foo as Trait>::trait_deprecated(&foo);
155 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
157 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_text`: text
158 --> $DIR/lint-stability-deprecated.rs:149:9
160 LL | ... Trait::trait_deprecated_text(&foo);
161 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
163 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_text`: text
164 --> $DIR/lint-stability-deprecated.rs:151:9
166 LL | ... <Foo as Trait>::trait_deprecated_text(&foo);
167 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
169 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable`: text
170 --> $DIR/lint-stability-deprecated.rs:153:9
172 LL | ... Trait::trait_deprecated_unstable(&foo);
173 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
175 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable`: text
176 --> $DIR/lint-stability-deprecated.rs:155:9
178 LL | ... <Foo as Trait>::trait_deprecated_unstable(&foo);
179 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
181 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable_text`: text
182 --> $DIR/lint-stability-deprecated.rs:157:9
184 LL | ... Trait::trait_deprecated_unstable_text(&foo);
185 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
187 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable_text`: text
188 --> $DIR/lint-stability-deprecated.rs:159:9
190 LL | ... <Foo as Trait>::trait_deprecated_unstable_text(&foo);
191 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
193 warning: use of deprecated trait `lint_stability::DeprecatedTrait`: text
194 --> $DIR/lint-stability-deprecated.rs:187:10
196 LL | impl DeprecatedTrait for S {}
199 warning: use of deprecated trait `lint_stability::DeprecatedTrait`: text
200 --> $DIR/lint-stability-deprecated.rs:189:25
202 LL | trait LocalTrait2 : DeprecatedTrait { }
205 warning: use of deprecated function `inheritance::inherited_stability::unstable_mod::deprecated`: text
206 --> $DIR/lint-stability-deprecated.rs:208:9
208 LL | unstable_mod::deprecated();
209 | ^^^^^^^^^^^^^^^^^^^^^^^^
211 warning: use of deprecated function `this_crate::deprecated`: text
212 --> $DIR/lint-stability-deprecated.rs:330:9
217 warning: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
218 --> $DIR/lint-stability-deprecated.rs:335:9
220 LL | Trait::trait_deprecated(&foo);
221 | ^^^^^^^^^^^^^^^^^^^^^^^
223 warning: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
224 --> $DIR/lint-stability-deprecated.rs:337:9
226 LL | <Foo as Trait>::trait_deprecated(&foo);
227 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
229 warning: use of deprecated function `this_crate::deprecated_text`: text
230 --> $DIR/lint-stability-deprecated.rs:339:9
232 LL | deprecated_text();
235 warning: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
236 --> $DIR/lint-stability-deprecated.rs:344:9
238 LL | Trait::trait_deprecated_text(&foo);
239 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
241 warning: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
242 --> $DIR/lint-stability-deprecated.rs:346:9
244 LL | ... <Foo as Trait>::trait_deprecated_text(&foo);
245 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
247 warning: use of deprecated struct `this_crate::DeprecatedStruct`: text
248 --> $DIR/lint-stability-deprecated.rs:384:17
250 LL | let _ = DeprecatedStruct {
253 warning: use of deprecated unit struct `this_crate::DeprecatedUnitStruct`: text
254 --> $DIR/lint-stability-deprecated.rs:391:17
256 LL | let _ = DeprecatedUnitStruct;
257 | ^^^^^^^^^^^^^^^^^^^^
259 warning: use of deprecated unit variant `this_crate::Enum::DeprecatedVariant`: text
260 --> $DIR/lint-stability-deprecated.rs:395:17
262 LL | let _ = Enum::DeprecatedVariant;
263 | ^^^^^^^^^^^^^^^^^^^^^^^
265 warning: use of deprecated tuple struct `this_crate::DeprecatedTupleStruct`: text
266 --> $DIR/lint-stability-deprecated.rs:399:17
268 LL | let _ = DeprecatedTupleStruct (1);
269 | ^^^^^^^^^^^^^^^^^^^^^
271 warning: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
272 --> $DIR/lint-stability-deprecated.rs:406:9
274 LL | Trait::trait_deprecated(&foo);
275 | ^^^^^^^^^^^^^^^^^^^^^^^
277 warning: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
278 --> $DIR/lint-stability-deprecated.rs:408:9
280 LL | <Foo as Trait>::trait_deprecated(&foo);
281 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
283 warning: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
284 --> $DIR/lint-stability-deprecated.rs:410:9
286 LL | Trait::trait_deprecated_text(&foo);
287 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
289 warning: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
290 --> $DIR/lint-stability-deprecated.rs:412:9
292 LL | ... <Foo as Trait>::trait_deprecated_text(&foo);
293 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
295 warning: use of deprecated function `this_crate::test_fn_body::fn_in_body`: text
296 --> $DIR/lint-stability-deprecated.rs:439:9
301 warning: use of deprecated trait `this_crate::DeprecatedTrait`: text
302 --> $DIR/lint-stability-deprecated.rs:459:10
304 LL | impl DeprecatedTrait for S { }
307 warning: use of deprecated trait `this_crate::DeprecatedTrait`: text
308 --> $DIR/lint-stability-deprecated.rs:461:24
310 LL | trait LocalTrait : DeprecatedTrait { }
313 warning: use of deprecated function `this_crate::MethodTester::test_method_body::fn_in_body`: text
314 --> $DIR/lint-stability-deprecated.rs:447:13
319 warning: use of deprecated associated type `lint_stability::TraitWithAssociatedTypes::TypeDeprecated`: text
320 --> $DIR/lint-stability-deprecated.rs:97:48
322 LL | struct S2<T: TraitWithAssociatedTypes>(T::TypeDeprecated);
325 warning: use of deprecated associated type `lint_stability::TraitWithAssociatedTypes::TypeDeprecated`: text
326 --> $DIR/lint-stability-deprecated.rs:102:13
328 LL | TypeDeprecated = u16,
329 | ^^^^^^^^^^^^^^^^^^^^
331 warning: use of deprecated associated function `lint_stability::MethodTester::method_deprecated`: text
332 --> $DIR/lint-stability-deprecated.rs:25:13
334 LL | foo.method_deprecated();
337 warning: use of deprecated associated function `lint_stability::MethodTester::method_deprecated`: text
338 --> $DIR/lint-stability-deprecated.rs:26:14
340 LL | Foo::method_deprecated(&foo);
343 warning: use of deprecated associated function `lint_stability::MethodTester::method_deprecated`: text
344 --> $DIR/lint-stability-deprecated.rs:27:16
346 LL | <Foo>::method_deprecated(&foo);
349 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated`: text
350 --> $DIR/lint-stability-deprecated.rs:28:13
352 LL | foo.trait_deprecated();
355 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated`: text
356 --> $DIR/lint-stability-deprecated.rs:30:16
358 LL | <Foo>::trait_deprecated(&foo);
361 warning: use of deprecated associated function `lint_stability::MethodTester::method_deprecated_text`: text
362 --> $DIR/lint-stability-deprecated.rs:34:13
364 LL | ... foo.method_deprecated_text();
365 | ^^^^^^^^^^^^^^^^^^^^^^
367 warning: use of deprecated associated function `lint_stability::MethodTester::method_deprecated_text`: text
368 --> $DIR/lint-stability-deprecated.rs:35:14
370 LL | ... Foo::method_deprecated_text(&foo);
371 | ^^^^^^^^^^^^^^^^^^^^^^
373 warning: use of deprecated associated function `lint_stability::MethodTester::method_deprecated_text`: text
374 --> $DIR/lint-stability-deprecated.rs:36:16
376 LL | ... <Foo>::method_deprecated_text(&foo);
377 | ^^^^^^^^^^^^^^^^^^^^^^
379 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_text`: text
380 --> $DIR/lint-stability-deprecated.rs:37:13
382 LL | foo.trait_deprecated_text();
383 | ^^^^^^^^^^^^^^^^^^^^^
385 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_text`: text
386 --> $DIR/lint-stability-deprecated.rs:39:16
388 LL | ... <Foo>::trait_deprecated_text(&foo);
389 | ^^^^^^^^^^^^^^^^^^^^^
391 warning: use of deprecated associated function `lint_stability::MethodTester::method_deprecated_unstable`: text
392 --> $DIR/lint-stability-deprecated.rs:43:13
394 LL | ... foo.method_deprecated_unstable();
395 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
397 warning: use of deprecated associated function `lint_stability::MethodTester::method_deprecated_unstable`: text
398 --> $DIR/lint-stability-deprecated.rs:44:14
400 LL | ... Foo::method_deprecated_unstable(&foo);
401 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
403 warning: use of deprecated associated function `lint_stability::MethodTester::method_deprecated_unstable`: text
404 --> $DIR/lint-stability-deprecated.rs:45:16
406 LL | ... <Foo>::method_deprecated_unstable(&foo);
407 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
409 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable`: text
410 --> $DIR/lint-stability-deprecated.rs:46:13
412 LL | foo.trait_deprecated_unstable();
413 | ^^^^^^^^^^^^^^^^^^^^^^^^^
415 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable`: text
416 --> $DIR/lint-stability-deprecated.rs:48:16
418 LL | ... <Foo>::trait_deprecated_unstable(&foo);
419 | ^^^^^^^^^^^^^^^^^^^^^^^^^
421 warning: use of deprecated associated function `lint_stability::MethodTester::method_deprecated_unstable_text`: text
422 --> $DIR/lint-stability-deprecated.rs:52:13
424 LL | ... foo.method_deprecated_unstable_text();
425 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
427 warning: use of deprecated associated function `lint_stability::MethodTester::method_deprecated_unstable_text`: text
428 --> $DIR/lint-stability-deprecated.rs:53:14
430 LL | ... Foo::method_deprecated_unstable_text(&foo);
431 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
433 warning: use of deprecated associated function `lint_stability::MethodTester::method_deprecated_unstable_text`: text
434 --> $DIR/lint-stability-deprecated.rs:54:16
436 LL | ... <Foo>::method_deprecated_unstable_text(&foo);
437 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
439 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable_text`: text
440 --> $DIR/lint-stability-deprecated.rs:55:13
442 LL | ... foo.trait_deprecated_unstable_text();
443 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
445 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable_text`: text
446 --> $DIR/lint-stability-deprecated.rs:57:16
448 LL | ... <Foo>::trait_deprecated_unstable_text(&foo);
449 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
451 warning: use of deprecated field `lint_stability::DeprecatedStruct::i`: text
452 --> $DIR/lint-stability-deprecated.rs:109:13
457 warning: use of deprecated field `lint_stability::DeprecatedUnstableStruct::i`: text
458 --> $DIR/lint-stability-deprecated.rs:113:13
463 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated`: text
464 --> $DIR/lint-stability-deprecated.rs:144:13
466 LL | foo.trait_deprecated();
469 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated`: text
470 --> $DIR/lint-stability-deprecated.rs:146:16
472 LL | <Foo>::trait_deprecated(&foo);
475 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_text`: text
476 --> $DIR/lint-stability-deprecated.rs:148:13
478 LL | foo.trait_deprecated_text();
479 | ^^^^^^^^^^^^^^^^^^^^^
481 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_text`: text
482 --> $DIR/lint-stability-deprecated.rs:150:16
484 LL | ... <Foo>::trait_deprecated_text(&foo);
485 | ^^^^^^^^^^^^^^^^^^^^^
487 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable`: text
488 --> $DIR/lint-stability-deprecated.rs:152:13
490 LL | foo.trait_deprecated_unstable();
491 | ^^^^^^^^^^^^^^^^^^^^^^^^^
493 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable`: text
494 --> $DIR/lint-stability-deprecated.rs:154:16
496 LL | ... <Foo>::trait_deprecated_unstable(&foo);
497 | ^^^^^^^^^^^^^^^^^^^^^^^^^
499 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable_text`: text
500 --> $DIR/lint-stability-deprecated.rs:156:13
502 LL | ... foo.trait_deprecated_unstable_text();
503 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
505 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable_text`: text
506 --> $DIR/lint-stability-deprecated.rs:158:16
508 LL | ... <Foo>::trait_deprecated_unstable_text(&foo);
509 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
511 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated`: text
512 --> $DIR/lint-stability-deprecated.rs:175:13
514 LL | foo.trait_deprecated();
517 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_text`: text
518 --> $DIR/lint-stability-deprecated.rs:176:13
520 LL | foo.trait_deprecated_text();
521 | ^^^^^^^^^^^^^^^^^^^^^
523 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable`: text
524 --> $DIR/lint-stability-deprecated.rs:177:13
526 LL | foo.trait_deprecated_unstable();
527 | ^^^^^^^^^^^^^^^^^^^^^^^^^
529 warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable_text`: text
530 --> $DIR/lint-stability-deprecated.rs:178:13
532 LL | ... foo.trait_deprecated_unstable_text();
533 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
535 warning: use of deprecated associated function `this_crate::MethodTester::method_deprecated`: text
536 --> $DIR/lint-stability-deprecated.rs:331:13
538 LL | foo.method_deprecated();
541 warning: use of deprecated associated function `this_crate::MethodTester::method_deprecated`: text
542 --> $DIR/lint-stability-deprecated.rs:332:14
544 LL | Foo::method_deprecated(&foo);
547 warning: use of deprecated associated function `this_crate::MethodTester::method_deprecated`: text
548 --> $DIR/lint-stability-deprecated.rs:333:16
550 LL | <Foo>::method_deprecated(&foo);
553 warning: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
554 --> $DIR/lint-stability-deprecated.rs:334:13
556 LL | foo.trait_deprecated();
559 warning: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
560 --> $DIR/lint-stability-deprecated.rs:336:16
562 LL | <Foo>::trait_deprecated(&foo);
565 warning: use of deprecated associated function `this_crate::MethodTester::method_deprecated_text`: text
566 --> $DIR/lint-stability-deprecated.rs:340:13
568 LL | ... foo.method_deprecated_text();
569 | ^^^^^^^^^^^^^^^^^^^^^^
571 warning: use of deprecated associated function `this_crate::MethodTester::method_deprecated_text`: text
572 --> $DIR/lint-stability-deprecated.rs:341:14
574 LL | ... Foo::method_deprecated_text(&foo);
575 | ^^^^^^^^^^^^^^^^^^^^^^
577 warning: use of deprecated associated function `this_crate::MethodTester::method_deprecated_text`: text
578 --> $DIR/lint-stability-deprecated.rs:342:16
580 LL | ... <Foo>::method_deprecated_text(&foo);
581 | ^^^^^^^^^^^^^^^^^^^^^^
583 warning: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
584 --> $DIR/lint-stability-deprecated.rs:343:13
586 LL | foo.trait_deprecated_text();
587 | ^^^^^^^^^^^^^^^^^^^^^
589 warning: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
590 --> $DIR/lint-stability-deprecated.rs:345:16
592 LL | <Foo>::trait_deprecated_text(&foo);
593 | ^^^^^^^^^^^^^^^^^^^^^
595 warning: use of deprecated field `this_crate::DeprecatedStruct::i`: text
596 --> $DIR/lint-stability-deprecated.rs:386:13
601 warning: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
602 --> $DIR/lint-stability-deprecated.rs:405:13
604 LL | foo.trait_deprecated();
607 warning: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
608 --> $DIR/lint-stability-deprecated.rs:407:16
610 LL | <Foo>::trait_deprecated(&foo);
613 warning: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
614 --> $DIR/lint-stability-deprecated.rs:409:13
616 LL | foo.trait_deprecated_text();
617 | ^^^^^^^^^^^^^^^^^^^^^
619 warning: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
620 --> $DIR/lint-stability-deprecated.rs:411:16
622 LL | <Foo>::trait_deprecated_text(&foo);
623 | ^^^^^^^^^^^^^^^^^^^^^
625 warning: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
626 --> $DIR/lint-stability-deprecated.rs:428:13
628 LL | foo.trait_deprecated();
631 warning: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
632 --> $DIR/lint-stability-deprecated.rs:429:13
634 LL | foo.trait_deprecated_text();
635 | ^^^^^^^^^^^^^^^^^^^^^
637 warning: use of deprecated associated type `lint_stability::TraitWithAssociatedTypes::TypeDeprecated`: text
638 --> $DIR/lint-stability-deprecated.rs:97:48
640 LL | struct S2<T: TraitWithAssociatedTypes>(T::TypeDeprecated);
643 warning: use of deprecated associated type `lint_stability::TraitWithAssociatedTypes::TypeDeprecated`: text
644 --> $DIR/lint-stability-deprecated.rs:102:13
646 LL | TypeDeprecated = u16,
647 | ^^^^^^^^^^^^^^^^^^^^
649 warning: use of deprecated associated type `lint_stability::TraitWithAssociatedTypes::TypeDeprecated`: text
650 --> $DIR/lint-stability-deprecated.rs:102:13
652 LL | TypeDeprecated = u16,
653 | ^^^^^^^^^^^^^^^^^^^^
655 warning: 108 warnings emitted