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