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