rust/tests/ui/lint/lint-stability-deprecated.stderr

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

657 lines
25 KiB
Plaintext
Raw Normal View History

warning: use of deprecated function `lint_stability::deprecated`: text
--> $DIR/lint-stability-deprecated.rs:24: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/lint-stability-deprecated.rs:6:9
2018-08-08 07:28:26 -05:00
|
LL | #![warn(deprecated)]
| ^^^^^^^^^^
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated`: text
2021-06-15 03:21:58 -05:00
--> $DIR/lint-stability-deprecated.rs:29: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
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated`: text
2021-06-15 03:21:58 -05:00
--> $DIR/lint-stability-deprecated.rs:31: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
warning: use of deprecated function `lint_stability::deprecated_text`: text
--> $DIR/lint-stability-deprecated.rs:33: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
| ^^^^^^^^^^^^^^^
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_text`: text
2021-06-15 03:21:58 -05:00
--> $DIR/lint-stability-deprecated.rs:38:16
2018-08-08 07:28:26 -05:00
|
LL | ... Trait::trait_deprecated_text(&foo);
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_text`: text
2021-06-15 03:21:58 -05:00
--> $DIR/lint-stability-deprecated.rs:40: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
warning: use of deprecated function `lint_stability::deprecated_unstable`: text
--> $DIR/lint-stability-deprecated.rs:42:9
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | deprecated_unstable();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable`: text
2021-06-15 03:21:58 -05:00
--> $DIR/lint-stability-deprecated.rs:47:16
2018-08-08 07:28:26 -05:00
|
LL | ... Trait::trait_deprecated_unstable(&foo);
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable`: text
2021-06-15 03:21:58 -05:00
--> $DIR/lint-stability-deprecated.rs:49:25
2018-08-08 07:28:26 -05:00
|
LL | ... <Foo as Trait>::trait_deprecated_unstable(&foo);
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated function `lint_stability::deprecated_unstable_text`: text
--> $DIR/lint-stability-deprecated.rs:51:9
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | deprecated_unstable_text();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable_text`: text
2021-06-15 03:21:58 -05:00
--> $DIR/lint-stability-deprecated.rs:56:16
2018-08-08 07:28:26 -05:00
|
LL | ... Trait::trait_deprecated_unstable_text(&foo);
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable_text`: text
2021-06-15 03:21:58 -05:00
--> $DIR/lint-stability-deprecated.rs:58:25
2018-08-08 07:28:26 -05:00
|
LL | ... <Foo as Trait>::trait_deprecated_unstable_text(&foo);
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated struct `lint_stability::DeprecatedStruct`: text
--> $DIR/lint-stability-deprecated.rs:108: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
| ^^^^^^^^^^^^^^^^
warning: use of deprecated struct `lint_stability::DeprecatedUnstableStruct`: text
--> $DIR/lint-stability-deprecated.rs:111:17
2018-08-08 07:28:26 -05:00
|
LL | let _ = DeprecatedUnstableStruct {
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated unit struct `lint_stability::DeprecatedUnitStruct`: text
--> $DIR/lint-stability-deprecated.rs:118: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
| ^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated unit struct `lint_stability::DeprecatedUnstableUnitStruct`: text
--> $DIR/lint-stability-deprecated.rs:119:17
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | let _ = DeprecatedUnstableUnitStruct;
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated unit variant `lint_stability::Enum::DeprecatedVariant`: text
2021-06-15 03:21:58 -05:00
--> $DIR/lint-stability-deprecated.rs:123: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
warning: use of deprecated unit variant `lint_stability::Enum::DeprecatedUnstableVariant`: text
2021-06-15 03:21:58 -05:00
--> $DIR/lint-stability-deprecated.rs:124:23
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | let _ = Enum::DeprecatedUnstableVariant;
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated tuple struct `lint_stability::DeprecatedTupleStruct`: text
--> $DIR/lint-stability-deprecated.rs:128: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
| ^^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated tuple struct `lint_stability::DeprecatedUnstableTupleStruct`: text
--> $DIR/lint-stability-deprecated.rs:129:17
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | let _ = DeprecatedUnstableTupleStruct (1);
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated function `lint_stability::deprecated_text`: text
--> $DIR/lint-stability-deprecated.rs:138: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
| ^^^^^^^^^^^^^^^
warning: use of deprecated function `lint_stability::deprecated_unstable_text`: text
--> $DIR/lint-stability-deprecated.rs:139:25
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | macro_test_arg!(deprecated_unstable_text());
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated function `lint_stability::deprecated_text`: text
--> $DIR/lint-stability-deprecated.rs:140: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
| ^^^^^^^^^^^^^^^
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated`: text
2021-06-15 03:21:58 -05:00
--> $DIR/lint-stability-deprecated.rs:145: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
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated`: text
2021-06-15 03:21:58 -05:00
--> $DIR/lint-stability-deprecated.rs:147: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
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_text`: text
2021-06-15 03:21:58 -05:00
--> $DIR/lint-stability-deprecated.rs:149:16
2018-08-08 07:28:26 -05:00
|
LL | ... Trait::trait_deprecated_text(&foo);
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_text`: text
2021-06-15 03:21:58 -05:00
--> $DIR/lint-stability-deprecated.rs:151: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
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable`: text
2021-06-15 03:21:58 -05:00
--> $DIR/lint-stability-deprecated.rs:153:16
2018-08-08 07:28:26 -05:00
|
LL | ... Trait::trait_deprecated_unstable(&foo);
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable`: text
2021-06-15 03:21:58 -05:00
--> $DIR/lint-stability-deprecated.rs:155:25
2018-08-08 07:28:26 -05:00
|
LL | ... <Foo as Trait>::trait_deprecated_unstable(&foo);
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable_text`: text
2021-06-15 03:21:58 -05:00
--> $DIR/lint-stability-deprecated.rs:157:16
2018-08-08 07:28:26 -05:00
|
LL | ... Trait::trait_deprecated_unstable_text(&foo);
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable_text`: text
2021-06-15 03:21:58 -05:00
--> $DIR/lint-stability-deprecated.rs:159:25
2018-08-08 07:28:26 -05:00
|
LL | ... <Foo as Trait>::trait_deprecated_unstable_text(&foo);
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated trait `lint_stability::DeprecatedTrait`: text
--> $DIR/lint-stability-deprecated.rs:187: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
| ^^^^^^^^^^^^^^^
warning: use of deprecated trait `lint_stability::DeprecatedTrait`: text
--> $DIR/lint-stability-deprecated.rs:189:25
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | trait LocalTrait2 : DeprecatedTrait { }
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^
warning: use of deprecated function `inheritance::inherited_stability::unstable_mod::deprecated`: text
2021-06-15 03:21:58 -05:00
--> $DIR/lint-stability-deprecated.rs:208:23
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | unstable_mod::deprecated();
2021-06-15 03:21:58 -05:00
| ^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated function `this_crate::deprecated`: text
--> $DIR/lint-stability-deprecated.rs:330: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
| ^^^^^^^^^^
warning: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
2021-06-15 03:21:58 -05:00
--> $DIR/lint-stability-deprecated.rs:335: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
warning: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
2021-06-15 03:21:58 -05:00
--> $DIR/lint-stability-deprecated.rs:337: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
warning: use of deprecated function `this_crate::deprecated_text`: text
--> $DIR/lint-stability-deprecated.rs:339: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
| ^^^^^^^^^^^^^^^
warning: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
2021-06-15 03:21:58 -05:00
--> $DIR/lint-stability-deprecated.rs:344: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
warning: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
2021-06-15 03:21:58 -05:00
--> $DIR/lint-stability-deprecated.rs:346: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
warning: use of deprecated struct `this_crate::DeprecatedStruct`: text
--> $DIR/lint-stability-deprecated.rs:384:17
2018-08-08 07:28:26 -05:00
|
LL | let _ = DeprecatedStruct {
| ^^^^^^^^^^^^^^^^
warning: use of deprecated unit struct `this_crate::DeprecatedUnitStruct`: text
--> $DIR/lint-stability-deprecated.rs:391: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
| ^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated unit variant `this_crate::Enum::DeprecatedVariant`: text
2021-06-15 03:21:58 -05:00
--> $DIR/lint-stability-deprecated.rs:395: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
warning: use of deprecated tuple struct `this_crate::DeprecatedTupleStruct`: text
--> $DIR/lint-stability-deprecated.rs:399: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
| ^^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
2021-06-15 03:21:58 -05:00
--> $DIR/lint-stability-deprecated.rs:406: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
warning: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
2021-06-15 03:21:58 -05:00
--> $DIR/lint-stability-deprecated.rs:408: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
warning: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
2021-06-15 03:21:58 -05:00
--> $DIR/lint-stability-deprecated.rs:410: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
warning: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
2021-06-15 03:21:58 -05:00
--> $DIR/lint-stability-deprecated.rs:412: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
warning: use of deprecated function `this_crate::test_fn_body::fn_in_body`: text
--> $DIR/lint-stability-deprecated.rs:439:9
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | fn_in_body();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^
warning: use of deprecated trait `this_crate::DeprecatedTrait`: text
--> $DIR/lint-stability-deprecated.rs:459: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
| ^^^^^^^^^^^^^^^
warning: use of deprecated trait `this_crate::DeprecatedTrait`: text
--> $DIR/lint-stability-deprecated.rs:461: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
| ^^^^^^^^^^^^^^^
warning: use of deprecated function `this_crate::MethodTester::test_method_body::fn_in_body`: text
--> $DIR/lint-stability-deprecated.rs:447:13
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | fn_in_body();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^
warning: use of deprecated associated type `lint_stability::TraitWithAssociatedTypes::TypeDeprecated`: text
--> $DIR/lint-stability-deprecated.rs:97:48
2018-08-08 07:28:26 -05:00
|
LL | struct S2<T: TraitWithAssociatedTypes>(T::TypeDeprecated);
| ^^^^^^^^^^^^^^^^^
warning: use of deprecated associated type `lint_stability::TraitWithAssociatedTypes::TypeDeprecated`: text
--> $DIR/lint-stability-deprecated.rs:102:13
2018-08-08 07:28:26 -05:00
|
LL | TypeDeprecated = u16,
| ^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated associated function `lint_stability::MethodTester::method_deprecated`: text
--> $DIR/lint-stability-deprecated.rs:25: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
| ^^^^^^^^^^^^^^^^^
warning: use of deprecated associated function `lint_stability::MethodTester::method_deprecated`: text
2021-05-06 21:41:04 -05:00
--> $DIR/lint-stability-deprecated.rs:26: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
warning: use of deprecated associated function `lint_stability::MethodTester::method_deprecated`: text
2021-05-06 21:41:04 -05:00
--> $DIR/lint-stability-deprecated.rs:27: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
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated`: text
--> $DIR/lint-stability-deprecated.rs:28: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
| ^^^^^^^^^^^^^^^^
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated`: text
2021-05-06 21:41:04 -05:00
--> $DIR/lint-stability-deprecated.rs:30: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
warning: use of deprecated associated function `lint_stability::MethodTester::method_deprecated_text`: text
--> $DIR/lint-stability-deprecated.rs:34:13
2018-08-08 07:28:26 -05:00
|
LL | ... foo.method_deprecated_text();
| ^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated associated function `lint_stability::MethodTester::method_deprecated_text`: text
2021-05-06 21:41:04 -05:00
--> $DIR/lint-stability-deprecated.rs:35:14
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
warning: use of deprecated associated function `lint_stability::MethodTester::method_deprecated_text`: text
2021-05-06 21:41:04 -05:00
--> $DIR/lint-stability-deprecated.rs:36: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
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_text`: text
--> $DIR/lint-stability-deprecated.rs:37: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
| ^^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_text`: text
2021-05-06 21:41:04 -05:00
--> $DIR/lint-stability-deprecated.rs:39:16
2018-08-08 07:28:26 -05:00
|
LL | ... <Foo>::trait_deprecated_text(&foo);
2021-05-06 21:41:04 -05:00
| ^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated associated function `lint_stability::MethodTester::method_deprecated_unstable`: text
--> $DIR/lint-stability-deprecated.rs:43:13
2018-08-08 07:28:26 -05:00
|
LL | ... foo.method_deprecated_unstable();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated associated function `lint_stability::MethodTester::method_deprecated_unstable`: text
2021-05-06 21:41:04 -05:00
--> $DIR/lint-stability-deprecated.rs:44:14
2018-08-08 07:28:26 -05:00
|
LL | ... Foo::method_deprecated_unstable(&foo);
2021-05-06 21:41:04 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated associated function `lint_stability::MethodTester::method_deprecated_unstable`: text
2021-05-06 21:41:04 -05:00
--> $DIR/lint-stability-deprecated.rs:45:16
2018-08-08 07:28:26 -05:00
|
LL | ... <Foo>::method_deprecated_unstable(&foo);
2021-05-06 21:41:04 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable`: text
--> $DIR/lint-stability-deprecated.rs:46:13
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | foo.trait_deprecated_unstable();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable`: text
2021-05-06 21:41:04 -05:00
--> $DIR/lint-stability-deprecated.rs:48:16
2018-08-08 07:28:26 -05:00
|
LL | ... <Foo>::trait_deprecated_unstable(&foo);
2021-05-06 21:41:04 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated associated function `lint_stability::MethodTester::method_deprecated_unstable_text`: text
--> $DIR/lint-stability-deprecated.rs:52:13
2018-08-08 07:28:26 -05:00
|
LL | ... foo.method_deprecated_unstable_text();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated associated function `lint_stability::MethodTester::method_deprecated_unstable_text`: text
2021-05-06 21:41:04 -05:00
--> $DIR/lint-stability-deprecated.rs:53:14
2018-08-08 07:28:26 -05:00
|
LL | ... Foo::method_deprecated_unstable_text(&foo);
2021-05-06 21:41:04 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated associated function `lint_stability::MethodTester::method_deprecated_unstable_text`: text
2021-05-06 21:41:04 -05:00
--> $DIR/lint-stability-deprecated.rs:54:16
2018-08-08 07:28:26 -05:00
|
LL | ... <Foo>::method_deprecated_unstable_text(&foo);
2021-05-06 21:41:04 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable_text`: text
--> $DIR/lint-stability-deprecated.rs:55:13
2018-08-08 07:28:26 -05:00
|
LL | ... foo.trait_deprecated_unstable_text();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable_text`: text
2021-05-06 21:41:04 -05:00
--> $DIR/lint-stability-deprecated.rs:57:16
2018-08-08 07:28:26 -05:00
|
LL | ... <Foo>::trait_deprecated_unstable_text(&foo);
2021-05-06 21:41:04 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated field `lint_stability::DeprecatedStruct::i`: text
--> $DIR/lint-stability-deprecated.rs:109: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
| ^^^^
warning: use of deprecated field `lint_stability::DeprecatedUnstableStruct::i`: text
--> $DIR/lint-stability-deprecated.rs:113: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
| ^^^^
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated`: text
--> $DIR/lint-stability-deprecated.rs:144: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
| ^^^^^^^^^^^^^^^^
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated`: text
2021-05-06 21:41:04 -05:00
--> $DIR/lint-stability-deprecated.rs:146: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
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_text`: text
--> $DIR/lint-stability-deprecated.rs:148: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
| ^^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_text`: text
2021-05-06 21:41:04 -05:00
--> $DIR/lint-stability-deprecated.rs:150:16
2018-08-08 07:28:26 -05:00
|
LL | ... <Foo>::trait_deprecated_text(&foo);
2021-05-06 21:41:04 -05:00
| ^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable`: text
--> $DIR/lint-stability-deprecated.rs:152:13
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | foo.trait_deprecated_unstable();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable`: text
2021-05-06 21:41:04 -05:00
--> $DIR/lint-stability-deprecated.rs:154:16
2018-08-08 07:28:26 -05:00
|
LL | ... <Foo>::trait_deprecated_unstable(&foo);
2021-05-06 21:41:04 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable_text`: text
--> $DIR/lint-stability-deprecated.rs:156:13
2018-08-08 07:28:26 -05:00
|
LL | ... foo.trait_deprecated_unstable_text();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable_text`: text
2021-05-06 21:41:04 -05:00
--> $DIR/lint-stability-deprecated.rs:158:16
2018-08-08 07:28:26 -05:00
|
LL | ... <Foo>::trait_deprecated_unstable_text(&foo);
2021-05-06 21:41:04 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated`: text
--> $DIR/lint-stability-deprecated.rs:175: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
| ^^^^^^^^^^^^^^^^
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_text`: text
--> $DIR/lint-stability-deprecated.rs:176: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
| ^^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable`: text
--> $DIR/lint-stability-deprecated.rs:177:13
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | foo.trait_deprecated_unstable();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable_text`: text
--> $DIR/lint-stability-deprecated.rs:178:13
2018-08-08 07:28:26 -05:00
|
LL | ... foo.trait_deprecated_unstable_text();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated associated function `this_crate::MethodTester::method_deprecated`: text
--> $DIR/lint-stability-deprecated.rs:331: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
| ^^^^^^^^^^^^^^^^^
warning: use of deprecated associated function `this_crate::MethodTester::method_deprecated`: text
2021-05-06 21:41:04 -05:00
--> $DIR/lint-stability-deprecated.rs:332: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
warning: use of deprecated associated function `this_crate::MethodTester::method_deprecated`: text
2021-05-06 21:41:04 -05:00
--> $DIR/lint-stability-deprecated.rs:333: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
warning: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
--> $DIR/lint-stability-deprecated.rs:334: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
| ^^^^^^^^^^^^^^^^
warning: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
2021-05-06 21:41:04 -05:00
--> $DIR/lint-stability-deprecated.rs:336: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
warning: use of deprecated associated function `this_crate::MethodTester::method_deprecated_text`: text
--> $DIR/lint-stability-deprecated.rs:340:13
2018-08-08 07:28:26 -05:00
|
LL | ... foo.method_deprecated_text();
| ^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
warning: use of deprecated associated function `this_crate::MethodTester::method_deprecated_text`: text
2021-05-06 21:41:04 -05:00
--> $DIR/lint-stability-deprecated.rs:341:14
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
warning: use of deprecated associated function `this_crate::MethodTester::method_deprecated_text`: text
2021-05-06 21:41:04 -05:00
--> $DIR/lint-stability-deprecated.rs:342: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
warning: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
--> $DIR/lint-stability-deprecated.rs:343: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
| ^^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
2021-05-06 21:41:04 -05:00
--> $DIR/lint-stability-deprecated.rs:345: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
warning: use of deprecated field `this_crate::DeprecatedStruct::i`: text
--> $DIR/lint-stability-deprecated.rs:386: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
| ^^^^
warning: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
--> $DIR/lint-stability-deprecated.rs:405: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
| ^^^^^^^^^^^^^^^^
warning: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
2021-05-06 21:41:04 -05:00
--> $DIR/lint-stability-deprecated.rs:407: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
warning: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
--> $DIR/lint-stability-deprecated.rs:409: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
| ^^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
2021-05-06 21:41:04 -05:00
--> $DIR/lint-stability-deprecated.rs:411: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
warning: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
--> $DIR/lint-stability-deprecated.rs:428: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
| ^^^^^^^^^^^^^^^^
warning: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
--> $DIR/lint-stability-deprecated.rs:429: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
| ^^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated associated type `lint_stability::TraitWithAssociatedTypes::TypeDeprecated`: text
--> $DIR/lint-stability-deprecated.rs:97:48
2020-01-08 11:02:10 -06:00
|
LL | struct S2<T: TraitWithAssociatedTypes>(T::TypeDeprecated);
| ^^^^^^^^^^^^^^^^^
warning: use of deprecated associated type `lint_stability::TraitWithAssociatedTypes::TypeDeprecated`: text
--> $DIR/lint-stability-deprecated.rs:102:13
2020-01-08 11:02:10 -06:00
|
LL | TypeDeprecated = u16,
| ^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated associated type `lint_stability::TraitWithAssociatedTypes::TypeDeprecated`: text
--> $DIR/lint-stability-deprecated.rs:102:13
2020-01-08 11:02:10 -06:00
|
LL | TypeDeprecated = u16,
| ^^^^^^^^^^^^^^^^^^^^
warning: 108 warnings emitted