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