rust/tests/ui/deprecation/deprecation-lint.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

748 lines
24 KiB
Plaintext
Raw Normal View History

error: use of deprecated function `deprecation_lint::deprecated`: text
--> $DIR/deprecation-lint.rs:16:9
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | deprecated();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^
|
2020-01-22 17:57:38 -06:00
note: the lint level is defined here
--> $DIR/deprecation-lint.rs:3:9
2018-08-08 07:28:26 -05:00
|
LL | #![deny(deprecated)]
| ^^^^^^^^^^
error: use of deprecated method `deprecation_lint::Trait::trait_deprecated`: text
2021-06-15 03:21:58 -05:00
--> $DIR/deprecation-lint.rs:21:16
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | Trait::trait_deprecated(&foo);
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated method `deprecation_lint::Trait::trait_deprecated`: text
2021-06-15 03:21:58 -05:00
--> $DIR/deprecation-lint.rs:23:25
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | <Foo as Trait>::trait_deprecated(&foo);
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated function `deprecation_lint::deprecated_text`: text
--> $DIR/deprecation-lint.rs:25:9
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | deprecated_text();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^
error: use of deprecated method `deprecation_lint::Trait::trait_deprecated_text`: text
2021-06-15 03:21:58 -05:00
--> $DIR/deprecation-lint.rs:30:16
2018-08-08 07:28:26 -05:00
|
LL | Trait::trait_deprecated_text(&foo);
| ^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated method `deprecation_lint::Trait::trait_deprecated_text`: text
2021-06-15 03:21:58 -05:00
--> $DIR/deprecation-lint.rs:32:25
2018-08-08 07:28:26 -05:00
|
LL | ... <Foo as Trait>::trait_deprecated_text(&foo);
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated struct `deprecation_lint::DeprecatedStruct`: text
--> $DIR/deprecation-lint.rs:34:17
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | let _ = DeprecatedStruct {
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^
error: use of deprecated unit struct `deprecation_lint::DeprecatedUnitStruct`: text
--> $DIR/deprecation-lint.rs:38:17
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | let _ = DeprecatedUnitStruct;
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^
error: use of deprecated unit variant `deprecation_lint::Enum::DeprecatedVariant`: text
2021-06-15 03:21:58 -05:00
--> $DIR/deprecation-lint.rs:40:23
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | let _ = Enum::DeprecatedVariant;
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated tuple struct `deprecation_lint::DeprecatedTupleStruct`: text
--> $DIR/deprecation-lint.rs:42:17
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | let _ = DeprecatedTupleStruct (1);
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^^
error: use of deprecated struct `deprecation_lint::nested::DeprecatedStruct`: text
2021-06-15 03:21:58 -05:00
--> $DIR/deprecation-lint.rs:44:25
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | let _ = nested::DeprecatedStruct {
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated unit struct `deprecation_lint::nested::DeprecatedUnitStruct`: text
2021-06-15 03:21:58 -05:00
--> $DIR/deprecation-lint.rs:48:25
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | let _ = nested::DeprecatedUnitStruct;
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated unit variant `deprecation_lint::nested::Enum::DeprecatedVariant`: text
2021-06-15 03:21:58 -05:00
--> $DIR/deprecation-lint.rs:50:31
2018-08-08 07:28:26 -05:00
|
LL | ... let _ = nested::Enum::DeprecatedVariant;
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated tuple struct `deprecation_lint::nested::DeprecatedTupleStruct`: text
2021-06-15 03:21:58 -05:00
--> $DIR/deprecation-lint.rs:52:25
2018-08-08 07:28:26 -05:00
|
LL | ... let _ = nested::DeprecatedTupleStruct (1);
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated function `deprecation_lint::deprecated_text`: text
--> $DIR/deprecation-lint.rs:59:25
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | macro_test_arg!(deprecated_text());
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^
error: use of deprecated function `deprecation_lint::deprecated_text`: text
--> $DIR/deprecation-lint.rs:60:41
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | macro_test_arg!(macro_test_arg!(deprecated_text()));
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^
error: use of deprecated method `deprecation_lint::Trait::trait_deprecated`: text
2021-06-15 03:21:58 -05:00
--> $DIR/deprecation-lint.rs:65:16
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | Trait::trait_deprecated(&foo);
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated method `deprecation_lint::Trait::trait_deprecated`: text
2021-06-15 03:21:58 -05:00
--> $DIR/deprecation-lint.rs:67:25
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | <Foo as Trait>::trait_deprecated(&foo);
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated method `deprecation_lint::Trait::trait_deprecated_text`: text
2021-06-15 03:21:58 -05:00
--> $DIR/deprecation-lint.rs:69:16
2018-08-08 07:28:26 -05:00
|
LL | Trait::trait_deprecated_text(&foo);
| ^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated method `deprecation_lint::Trait::trait_deprecated_text`: text
2021-06-15 03:21:58 -05:00
--> $DIR/deprecation-lint.rs:71:25
2018-08-08 07:28:26 -05:00
|
LL | ... <Foo as Trait>::trait_deprecated_text(&foo);
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated trait `deprecation_lint::DeprecatedTrait`: text
--> $DIR/deprecation-lint.rs:81:10
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | impl DeprecatedTrait for S {}
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^
error: use of deprecated trait `deprecation_lint::DeprecatedTrait`: text
--> $DIR/deprecation-lint.rs:82:24
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | trait LocalTrait : DeprecatedTrait { }
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^
error: use of deprecated struct `deprecation_lint::Deprecated`: text
--> $DIR/deprecation-lint.rs:113:17
2018-08-08 07:28:26 -05:00
|
LL | let x = Deprecated {
| ^^^^^^^^^^
error: use of deprecated struct `deprecation_lint::Deprecated`: text
--> $DIR/deprecation-lint.rs:122:13
2018-08-08 07:28:26 -05:00
|
LL | let Deprecated {
| ^^^^^^^^^^
error: use of deprecated struct `deprecation_lint::Deprecated`: text
--> $DIR/deprecation-lint.rs:128:13
2018-08-08 07:28:26 -05:00
|
LL | let Deprecated
| ^^^^^^^^^^
error: use of deprecated tuple struct `deprecation_lint::Deprecated2`: text
--> $DIR/deprecation-lint.rs:132:17
2018-08-08 07:28:26 -05:00
|
LL | let x = Deprecated2(1, 2, 3);
| ^^^^^^^^^^^
error: use of deprecated tuple struct `deprecation_lint::Deprecated2`: text
--> $DIR/deprecation-lint.rs:142:13
2018-08-08 07:28:26 -05:00
|
LL | let Deprecated2
| ^^^^^^^^^^^
error: use of deprecated tuple struct `deprecation_lint::Deprecated2`: text
--> $DIR/deprecation-lint.rs:151:13
2018-08-08 07:28:26 -05:00
|
LL | let Deprecated2
| ^^^^^^^^^^^
error: use of deprecated function `deprecation_lint::deprecated_mod::deprecated`: text
2021-06-15 03:21:58 -05:00
--> $DIR/deprecation-lint.rs:162:25
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | deprecated_mod::deprecated();
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated function `this_crate::deprecated`: text
--> $DIR/deprecation-lint.rs:245:9
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | deprecated();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^
error: use of deprecated method `this_crate::Trait::trait_deprecated`: text
2021-06-15 03:21:58 -05:00
--> $DIR/deprecation-lint.rs:250:16
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | Trait::trait_deprecated(&foo);
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated method `this_crate::Trait::trait_deprecated`: text
2021-06-15 03:21:58 -05:00
--> $DIR/deprecation-lint.rs:252:25
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | <Foo as Trait>::trait_deprecated(&foo);
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated function `this_crate::deprecated_text`: text
--> $DIR/deprecation-lint.rs:254:9
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | deprecated_text();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^
error: use of deprecated method `this_crate::Trait::trait_deprecated_text`: text
2021-06-15 03:21:58 -05:00
--> $DIR/deprecation-lint.rs:259:16
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | Trait::trait_deprecated_text(&foo);
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated method `this_crate::Trait::trait_deprecated_text`: text
2021-06-15 03:21:58 -05:00
--> $DIR/deprecation-lint.rs:261:25
2018-08-08 07:28:26 -05:00
|
LL | <Foo as Trait>::trait_deprecated_text(&foo);
| ^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated function `this_crate::deprecated_future`: text
--> $DIR/deprecation-lint.rs:264:9
|
2019-03-09 06:03:44 -06:00
LL | deprecated_future();
| ^^^^^^^^^^^^^^^^^
error: use of deprecated function `this_crate::deprecated_future_text`: text
--> $DIR/deprecation-lint.rs:265:9
|
2019-03-09 06:03:44 -06:00
LL | deprecated_future_text();
| ^^^^^^^^^^^^^^^^^^^^^^
error: use of deprecated struct `this_crate::DeprecatedStruct`: text
--> $DIR/deprecation-lint.rs:267:17
2018-08-08 07:28:26 -05:00
|
LL | let _ = DeprecatedStruct {
| ^^^^^^^^^^^^^^^^
error: use of deprecated unit struct `this_crate::DeprecatedUnitStruct`: text
--> $DIR/deprecation-lint.rs:272:17
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | let _ = DeprecatedUnitStruct;
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^
error: use of deprecated unit variant `this_crate::Enum::DeprecatedVariant`: text
2021-06-15 03:21:58 -05:00
--> $DIR/deprecation-lint.rs:274:23
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | let _ = Enum::DeprecatedVariant;
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated tuple struct `this_crate::DeprecatedTupleStruct`: text
--> $DIR/deprecation-lint.rs:276:17
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | let _ = DeprecatedTupleStruct (1);
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^^
error: use of deprecated struct `this_crate::nested::DeprecatedStruct`: text
2021-06-15 03:21:58 -05:00
--> $DIR/deprecation-lint.rs:278:25
2018-08-08 07:28:26 -05:00
|
LL | let _ = nested::DeprecatedStruct {
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated unit struct `this_crate::nested::DeprecatedUnitStruct`: text
--> $DIR/deprecation-lint.rs:284:25
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | let _ = nested::DeprecatedUnitStruct;
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated unit variant `this_crate::nested::Enum::DeprecatedVariant`: text
--> $DIR/deprecation-lint.rs:286:31
2018-08-08 07:28:26 -05:00
|
LL | ... let _ = nested::Enum::DeprecatedVariant;
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated tuple struct `this_crate::nested::DeprecatedTupleStruct`: text
--> $DIR/deprecation-lint.rs:288:25
2018-08-08 07:28:26 -05:00
|
LL | ... let _ = nested::DeprecatedTupleStruct (1);
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated method `this_crate::Trait::trait_deprecated`: text
--> $DIR/deprecation-lint.rs:293:16
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | Trait::trait_deprecated(&foo);
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated method `this_crate::Trait::trait_deprecated`: text
--> $DIR/deprecation-lint.rs:295:25
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | <Foo as Trait>::trait_deprecated(&foo);
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated method `this_crate::Trait::trait_deprecated_text`: text
--> $DIR/deprecation-lint.rs:297:16
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | Trait::trait_deprecated_text(&foo);
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated method `this_crate::Trait::trait_deprecated_text`: text
--> $DIR/deprecation-lint.rs:299:25
2018-08-08 07:28:26 -05:00
|
LL | <Foo as Trait>::trait_deprecated_text(&foo);
| ^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated function `this_crate::test_fn_closure_body::{closure#0}::bar`
--> $DIR/deprecation-lint.rs:317:13
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | bar();
2018-08-08 07:28:26 -05:00
| ^^^
error: use of deprecated trait `this_crate::DeprecatedTrait`: text
--> $DIR/deprecation-lint.rs:336:10
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | impl DeprecatedTrait for S { }
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^
error: use of deprecated trait `this_crate::DeprecatedTrait`: text
--> $DIR/deprecation-lint.rs:338:24
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | trait LocalTrait : DeprecatedTrait { }
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^
error: use of deprecated struct `this_crate2::Deprecated`: text
--> $DIR/deprecation-lint.rs:390:17
2018-08-08 07:28:26 -05:00
|
LL | let x = Deprecated {
| ^^^^^^^^^^
error: use of deprecated struct `this_crate2::Deprecated`: text
--> $DIR/deprecation-lint.rs:399:13
2018-08-08 07:28:26 -05:00
|
LL | let Deprecated {
| ^^^^^^^^^^
error: use of deprecated struct `this_crate2::Deprecated`: text
--> $DIR/deprecation-lint.rs:405:13
2018-08-08 07:28:26 -05:00
|
LL | let Deprecated
| ^^^^^^^^^^
error: use of deprecated tuple struct `this_crate2::Deprecated2`: text
--> $DIR/deprecation-lint.rs:410:17
2018-08-08 07:28:26 -05:00
|
LL | let x = Deprecated2(1, 2, 3);
| ^^^^^^^^^^^
error: use of deprecated tuple struct `this_crate2::Deprecated2`: text
--> $DIR/deprecation-lint.rs:420:13
2018-08-08 07:28:26 -05:00
|
LL | let Deprecated2
| ^^^^^^^^^^^
error: use of deprecated tuple struct `this_crate2::Deprecated2`: text
--> $DIR/deprecation-lint.rs:429:13
2018-08-08 07:28:26 -05:00
|
LL | let Deprecated2
| ^^^^^^^^^^^
error: use of deprecated method `deprecation_lint::MethodTester::method_deprecated`: text
--> $DIR/deprecation-lint.rs:17:13
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | foo.method_deprecated();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^
error: use of deprecated method `deprecation_lint::MethodTester::method_deprecated`: text
2021-05-06 21:41:04 -05:00
--> $DIR/deprecation-lint.rs:18:14
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | Foo::method_deprecated(&foo);
2021-05-06 21:41:04 -05:00
| ^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated method `deprecation_lint::MethodTester::method_deprecated`: text
2021-05-06 21:41:04 -05:00
--> $DIR/deprecation-lint.rs:19:16
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | <Foo>::method_deprecated(&foo);
2021-05-06 21:41:04 -05:00
| ^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated method `deprecation_lint::Trait::trait_deprecated`: text
--> $DIR/deprecation-lint.rs:20:13
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | foo.trait_deprecated();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^
error: use of deprecated method `deprecation_lint::Trait::trait_deprecated`: text
2021-05-06 21:41:04 -05:00
--> $DIR/deprecation-lint.rs:22:16
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | <Foo>::trait_deprecated(&foo);
2021-05-06 21:41:04 -05:00
| ^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated method `deprecation_lint::MethodTester::method_deprecated_text`: text
--> $DIR/deprecation-lint.rs:26:13
2018-08-08 07:28:26 -05:00
|
LL | foo.method_deprecated_text();
| ^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated method `deprecation_lint::MethodTester::method_deprecated_text`: text
2021-05-06 21:41:04 -05:00
--> $DIR/deprecation-lint.rs:27:14
2018-08-08 07:28:26 -05:00
|
LL | Foo::method_deprecated_text(&foo);
| ^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated method `deprecation_lint::MethodTester::method_deprecated_text`: text
2021-05-06 21:41:04 -05:00
--> $DIR/deprecation-lint.rs:28:16
2018-08-08 07:28:26 -05:00
|
LL | ... <Foo>::method_deprecated_text(&foo);
2021-05-06 21:41:04 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated method `deprecation_lint::Trait::trait_deprecated_text`: text
--> $DIR/deprecation-lint.rs:29:13
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | foo.trait_deprecated_text();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^^
error: use of deprecated method `deprecation_lint::Trait::trait_deprecated_text`: text
2021-05-06 21:41:04 -05:00
--> $DIR/deprecation-lint.rs:31:16
2018-08-08 07:28:26 -05:00
|
LL | <Foo>::trait_deprecated_text(&foo);
| ^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated field `deprecation_lint::DeprecatedStruct::i`: text
--> $DIR/deprecation-lint.rs:35:13
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | i: 0
2018-08-08 07:28:26 -05:00
| ^^^^
error: use of deprecated field `deprecation_lint::nested::DeprecatedStruct::i`: text
--> $DIR/deprecation-lint.rs:45:13
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | i: 0
2018-08-08 07:28:26 -05:00
| ^^^^
error: use of deprecated method `deprecation_lint::Trait::trait_deprecated`: text
--> $DIR/deprecation-lint.rs:64:13
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | foo.trait_deprecated();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^
error: use of deprecated method `deprecation_lint::Trait::trait_deprecated`: text
2021-05-06 21:41:04 -05:00
--> $DIR/deprecation-lint.rs:66:16
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | <Foo>::trait_deprecated(&foo);
2021-05-06 21:41:04 -05:00
| ^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated method `deprecation_lint::Trait::trait_deprecated_text`: text
--> $DIR/deprecation-lint.rs:68:13
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | foo.trait_deprecated_text();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^^
error: use of deprecated method `deprecation_lint::Trait::trait_deprecated_text`: text
2021-05-06 21:41:04 -05:00
--> $DIR/deprecation-lint.rs:70:16
2018-08-08 07:28:26 -05:00
|
LL | <Foo>::trait_deprecated_text(&foo);
| ^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated method `deprecation_lint::Trait::trait_deprecated`: text
--> $DIR/deprecation-lint.rs:75:13
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | foo.trait_deprecated();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^
error: use of deprecated method `deprecation_lint::Trait::trait_deprecated_text`: text
--> $DIR/deprecation-lint.rs:76:13
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | foo.trait_deprecated_text();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^^
error: use of deprecated field `deprecation_lint::Stable::override2`: text
--> $DIR/deprecation-lint.rs:86:13
2018-08-08 07:28:26 -05:00
|
LL | override2: 3,
| ^^^^^^^^^^^^
error: use of deprecated field `deprecation_lint::Stable::override2`: text
--> $DIR/deprecation-lint.rs:90:17
2018-08-08 07:28:26 -05:00
|
LL | let _ = x.override2;
| ^^^^^^^^^^^
error: use of deprecated field `deprecation_lint::Stable::override2`: text
--> $DIR/deprecation-lint.rs:94:13
2018-08-08 07:28:26 -05:00
|
LL | override2: _
| ^^^^^^^^^^^^
error: use of deprecated field `deprecation_lint::Stable2::2`: text
--> $DIR/deprecation-lint.rs:102:17
2018-08-08 07:28:26 -05:00
|
LL | let _ = x.2;
| ^^^
error: use of deprecated field `deprecation_lint::Stable2::2`: text
--> $DIR/deprecation-lint.rs:107:20
2018-08-08 07:28:26 -05:00
|
LL | _)
| ^
error: use of deprecated field `deprecation_lint::Deprecated::inherit`: text
--> $DIR/deprecation-lint.rs:115:13
2018-08-08 07:28:26 -05:00
|
LL | inherit: 1,
| ^^^^^^^^^^
error: use of deprecated field `deprecation_lint::Deprecated::inherit`: text
--> $DIR/deprecation-lint.rs:119:17
2018-08-08 07:28:26 -05:00
|
LL | let _ = x.inherit;
| ^^^^^^^^^
error: use of deprecated field `deprecation_lint::Deprecated::inherit`: text
--> $DIR/deprecation-lint.rs:124:13
2018-08-08 07:28:26 -05:00
|
LL | inherit: _,
| ^^^^^^^^^^
error: use of deprecated field `deprecation_lint::Deprecated2::0`: text
--> $DIR/deprecation-lint.rs:135:17
2018-08-08 07:28:26 -05:00
|
LL | let _ = x.0;
| ^^^
error: use of deprecated field `deprecation_lint::Deprecated2::1`: text
--> $DIR/deprecation-lint.rs:137:17
2018-08-08 07:28:26 -05:00
|
LL | let _ = x.1;
| ^^^
error: use of deprecated field `deprecation_lint::Deprecated2::2`: text
--> $DIR/deprecation-lint.rs:139:17
2018-08-08 07:28:26 -05:00
|
LL | let _ = x.2;
| ^^^
error: use of deprecated field `deprecation_lint::Deprecated2::0`: text
--> $DIR/deprecation-lint.rs:144:14
2018-08-08 07:28:26 -05:00
|
LL | (_,
| ^
error: use of deprecated field `deprecation_lint::Deprecated2::1`: text
--> $DIR/deprecation-lint.rs:146:14
2018-08-08 07:28:26 -05:00
|
LL | _,
| ^
error: use of deprecated field `deprecation_lint::Deprecated2::2`: text
--> $DIR/deprecation-lint.rs:148:14
2018-08-08 07:28:26 -05:00
|
LL | _)
| ^
error: use of deprecated method `this_crate::MethodTester::method_deprecated`: text
--> $DIR/deprecation-lint.rs:246:13
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | foo.method_deprecated();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^
error: use of deprecated method `this_crate::MethodTester::method_deprecated`: text
2021-05-06 21:41:04 -05:00
--> $DIR/deprecation-lint.rs:247:14
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | Foo::method_deprecated(&foo);
2021-05-06 21:41:04 -05:00
| ^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated method `this_crate::MethodTester::method_deprecated`: text
2021-05-06 21:41:04 -05:00
--> $DIR/deprecation-lint.rs:248:16
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | <Foo>::method_deprecated(&foo);
2021-05-06 21:41:04 -05:00
| ^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated method `this_crate::Trait::trait_deprecated`: text
--> $DIR/deprecation-lint.rs:249:13
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | foo.trait_deprecated();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^
error: use of deprecated method `this_crate::Trait::trait_deprecated`: text
2021-05-06 21:41:04 -05:00
--> $DIR/deprecation-lint.rs:251:16
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | <Foo>::trait_deprecated(&foo);
2021-05-06 21:41:04 -05:00
| ^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated method `this_crate::MethodTester::method_deprecated_text`: text
--> $DIR/deprecation-lint.rs:255:13
2018-08-08 07:28:26 -05:00
|
LL | foo.method_deprecated_text();
| ^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated method `this_crate::MethodTester::method_deprecated_text`: text
2021-05-06 21:41:04 -05:00
--> $DIR/deprecation-lint.rs:256:14
2018-08-08 07:28:26 -05:00
|
LL | Foo::method_deprecated_text(&foo);
| ^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated method `this_crate::MethodTester::method_deprecated_text`: text
2021-05-06 21:41:04 -05:00
--> $DIR/deprecation-lint.rs:257:16
2018-08-08 07:28:26 -05:00
|
LL | <Foo>::method_deprecated_text(&foo);
| ^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated method `this_crate::Trait::trait_deprecated_text`: text
--> $DIR/deprecation-lint.rs:258:13
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | foo.trait_deprecated_text();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^^
error: use of deprecated method `this_crate::Trait::trait_deprecated_text`: text
2021-05-06 21:41:04 -05:00
--> $DIR/deprecation-lint.rs:260:16
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | <Foo>::trait_deprecated_text(&foo);
2021-05-06 21:41:04 -05:00
| ^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated field `this_crate::DeprecatedStruct::i`: text
--> $DIR/deprecation-lint.rs:269:13
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | i: 0
2018-08-08 07:28:26 -05:00
| ^^^^
error: use of deprecated field `this_crate::nested::DeprecatedStruct::i`: text
--> $DIR/deprecation-lint.rs:280:13
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | i: 0
2018-08-08 07:28:26 -05:00
| ^^^^
error: use of deprecated method `this_crate::Trait::trait_deprecated`: text
--> $DIR/deprecation-lint.rs:292:13
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | foo.trait_deprecated();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^
error: use of deprecated method `this_crate::Trait::trait_deprecated`: text
--> $DIR/deprecation-lint.rs:294:16
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | <Foo>::trait_deprecated(&foo);
2021-05-06 21:41:04 -05:00
| ^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated method `this_crate::Trait::trait_deprecated_text`: text
--> $DIR/deprecation-lint.rs:296:13
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | foo.trait_deprecated_text();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^^
error: use of deprecated method `this_crate::Trait::trait_deprecated_text`: text
--> $DIR/deprecation-lint.rs:298:16
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | <Foo>::trait_deprecated_text(&foo);
2021-05-06 21:41:04 -05:00
| ^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: use of deprecated method `this_crate::Trait::trait_deprecated`: text
--> $DIR/deprecation-lint.rs:303:13
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | foo.trait_deprecated();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^
error: use of deprecated method `this_crate::Trait::trait_deprecated_text`: text
--> $DIR/deprecation-lint.rs:304:13
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | foo.trait_deprecated_text();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^^
error: use of deprecated field `this_crate2::Stable::override2`: text
--> $DIR/deprecation-lint.rs:363:13
2018-08-08 07:28:26 -05:00
|
LL | override2: 3,
| ^^^^^^^^^^^^
error: use of deprecated field `this_crate2::Stable::override2`: text
--> $DIR/deprecation-lint.rs:367:17
2018-08-08 07:28:26 -05:00
|
LL | let _ = x.override2;
| ^^^^^^^^^^^
error: use of deprecated field `this_crate2::Stable::override2`: text
--> $DIR/deprecation-lint.rs:371:13
2018-08-08 07:28:26 -05:00
|
LL | override2: _
| ^^^^^^^^^^^^
error: use of deprecated field `this_crate2::Stable2::2`: text
--> $DIR/deprecation-lint.rs:379:17
2018-08-08 07:28:26 -05:00
|
LL | let _ = x.2;
| ^^^
error: use of deprecated field `this_crate2::Stable2::2`: text
--> $DIR/deprecation-lint.rs:384:20
2018-08-08 07:28:26 -05:00
|
LL | _)
| ^
error: use of deprecated field `this_crate2::Deprecated::inherit`: text
--> $DIR/deprecation-lint.rs:392:13
2018-08-08 07:28:26 -05:00
|
LL | inherit: 1,
| ^^^^^^^^^^
error: use of deprecated field `this_crate2::Deprecated::inherit`: text
--> $DIR/deprecation-lint.rs:396:17
2018-08-08 07:28:26 -05:00
|
LL | let _ = x.inherit;
| ^^^^^^^^^
error: use of deprecated field `this_crate2::Deprecated::inherit`: text
--> $DIR/deprecation-lint.rs:401:13
2018-08-08 07:28:26 -05:00
|
LL | inherit: _,
| ^^^^^^^^^^
error: use of deprecated field `this_crate2::Deprecated2::0`: text
--> $DIR/deprecation-lint.rs:413:17
2018-08-08 07:28:26 -05:00
|
LL | let _ = x.0;
| ^^^
error: use of deprecated field `this_crate2::Deprecated2::1`: text
--> $DIR/deprecation-lint.rs:415:17
2018-08-08 07:28:26 -05:00
|
LL | let _ = x.1;
| ^^^
error: use of deprecated field `this_crate2::Deprecated2::2`: text
--> $DIR/deprecation-lint.rs:417:17
2018-08-08 07:28:26 -05:00
|
LL | let _ = x.2;
| ^^^
error: use of deprecated field `this_crate2::Deprecated2::0`: text
--> $DIR/deprecation-lint.rs:422:14
2018-08-08 07:28:26 -05:00
|
LL | (_,
| ^
error: use of deprecated field `this_crate2::Deprecated2::1`: text
--> $DIR/deprecation-lint.rs:424:14
2018-08-08 07:28:26 -05:00
|
LL | _,
| ^
error: use of deprecated field `this_crate2::Deprecated2::2`: text
--> $DIR/deprecation-lint.rs:426:14
2018-08-08 07:28:26 -05:00
|
LL | _)
| ^
error[E0451]: field `i` of struct `this_crate::nested::DeprecatedStruct` is private
--> $DIR/deprecation-lint.rs:280:13
|
LL | i: 0
| ^^^^ private field
error: aborting due to 123 previous errors
2018-08-08 07:28:26 -05:00
For more information about this error, try `rustc --explain E0451`.