fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
1.2 KiB44 linesraw
1error: use of deprecated item 'loud::DeprecatedType'
2  --> $DIR/deprecation-lint-nested.rs:55:16
3   |
4LL |     struct Foo(DeprecatedType);
5   |                ^^^^^^^^^^^^^^
6   |
7note: lint level defined here
8  --> $DIR/deprecation-lint-nested.rs:1:9
9   |
10LL | #![deny(deprecated)]
11   |         ^^^^^^^^^^
12
13error: use of deprecated item 'loud::DeprecatedTrait'
14  --> $DIR/deprecation-lint-nested.rs:57:10
15   |
16LL |     impl DeprecatedTrait for Foo {}
17   |          ^^^^^^^^^^^^^^^
18
19error: use of deprecated item 'loud::DEPRECATED_STATIC'
20  --> $DIR/deprecation-lint-nested.rs:66:9
21   |
22LL |         DEPRECATED_STATIC +
23   |         ^^^^^^^^^^^^^^^^^
24
25error: use of deprecated item 'loud::DEPRECATED_CONST'
26  --> $DIR/deprecation-lint-nested.rs:67:9
27   |
28LL |         DEPRECATED_CONST
29   |         ^^^^^^^^^^^^^^^^
30
31error: use of deprecated item 'loud::DeprecatedTrait'
32  --> $DIR/deprecation-lint-nested.rs:60:19
33   |
34LL |         fn bar<T: DeprecatedTrait>() {
35   |                   ^^^^^^^^^^^^^^^
36
37error: use of deprecated item '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