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

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

45 lines
1.2 KiB
Plaintext
Raw Normal View History

error: use of deprecated type alias `loud::DeprecatedType`
2018-12-25 09:56:47 -06:00
--> $DIR/deprecation-lint-nested.rs:55:16
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | struct Foo(DeprecatedType);
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^
|
2020-01-22 17:57:38 -06:00
note: the lint level is defined here
2018-12-25 09:56:47 -06:00
--> $DIR/deprecation-lint-nested.rs:1:9
2018-08-08 07:28:26 -05:00
|
LL | #![deny(deprecated)]
| ^^^^^^^^^^
error: use of deprecated trait `loud::DeprecatedTrait`
2018-12-25 09:56:47 -06:00
--> $DIR/deprecation-lint-nested.rs:57:10
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | impl DeprecatedTrait for Foo {}
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^
error: use of deprecated static `loud::DEPRECATED_STATIC`
2018-12-25 09:56:47 -06:00
--> $DIR/deprecation-lint-nested.rs:66:9
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | DEPRECATED_STATIC +
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^
error: use of deprecated constant `loud::DEPRECATED_CONST`
2018-12-25 09:56:47 -06:00
--> $DIR/deprecation-lint-nested.rs:67:9
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | DEPRECATED_CONST
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^
error: use of deprecated trait `loud::DeprecatedTrait`
2018-12-25 09:56:47 -06:00
--> $DIR/deprecation-lint-nested.rs:60:19
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | fn bar<T: DeprecatedTrait>() {
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^
error: use of deprecated function `loud::deprecated_fn`
2018-12-25 09:56:47 -06:00
--> $DIR/deprecation-lint-nested.rs:61:13
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | deprecated_fn();
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^
error: aborting due to 6 previous errors