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