1error: use of deprecated type alias `loud::DeprecatedType`
2  --> $DIR/deprecation-lint-nested.rs:55:16
3   |
4LL |     struct Foo(DeprecatedType);
5   |                ^^^^^^^^^^^^^^
6   |
7note: the lint level is defined here
8  --> $DIR/deprecation-lint-nested.rs:1:9
9   |
10LL | #![deny(deprecated)]
11   |         ^^^^^^^^^^
12
13error: use of deprecated trait `loud::DeprecatedTrait`
14  --> $DIR/deprecation-lint-nested.rs:57:10
15   |
16LL |     impl DeprecatedTrait for Foo {}
17   |          ^^^^^^^^^^^^^^^
18
19error: use of deprecated static `loud::DEPRECATED_STATIC`
20  --> $DIR/deprecation-lint-nested.rs:66:9
21   |
22LL |         DEPRECATED_STATIC +
23   |         ^^^^^^^^^^^^^^^^^
24
25error: use of deprecated constant `loud::DEPRECATED_CONST`
26  --> $DIR/deprecation-lint-nested.rs:67:9
27   |
28LL |         DEPRECATED_CONST
29   |         ^^^^^^^^^^^^^^^^
30
31error: use of deprecated trait `loud::DeprecatedTrait`
32  --> $DIR/deprecation-lint-nested.rs:60:19
33   |
34LL |         fn bar<T: DeprecatedTrait>() {
35   |                   ^^^^^^^^^^^^^^^
36
37error: use of deprecated function `loud::deprecated_fn`
38  --> $DIR/deprecation-lint-nested.rs:61:13
39   |
40LL |             deprecated_fn();
41   |             ^^^^^^^^^^^^^
42
43error: aborting due to 6 previous errors
44
45