]> git.lizzy.rs Git - rust.git/blob - tests/ui/deprecation/deprecation-lint-nested.stderr
Rollup merge of #106692 - eggyal:mv-binary_heap.rs-binary_heap/mod.rs, r=Mark-Simulacrum
[rust.git] / tests / ui / deprecation / deprecation-lint-nested.stderr
1 error: use of deprecated type alias `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 trait `loud::DeprecatedTrait`
14   --> $DIR/deprecation-lint-nested.rs:57:10
15    |
16 LL |     impl DeprecatedTrait for Foo {}
17    |          ^^^^^^^^^^^^^^^
18
19 error: use of deprecated static `loud::DEPRECATED_STATIC`
20   --> $DIR/deprecation-lint-nested.rs:66:9
21    |
22 LL |         DEPRECATED_STATIC +
23    |         ^^^^^^^^^^^^^^^^^
24
25 error: use of deprecated constant `loud::DEPRECATED_CONST`
26   --> $DIR/deprecation-lint-nested.rs:67:9
27    |
28 LL |         DEPRECATED_CONST
29    |         ^^^^^^^^^^^^^^^^
30
31 error: use of deprecated trait `loud::DeprecatedTrait`
32   --> $DIR/deprecation-lint-nested.rs:60:19
33    |
34 LL |         fn bar<T: DeprecatedTrait>() {
35    |                   ^^^^^^^^^^^^^^^
36
37 error: use of deprecated function `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