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