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