fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.9 KiB39 linesraw
1error: `crate_type` within an `#![cfg_attr] attribute is deprecated`
2  --> $DIR/future-compat-crate-attributes-using-cfg_attr.rs:4:18
3   |
4LL | #![cfg_attr(foo, crate_type="bin")]
5   |                  ^^^^^^^^^^^^^^^^
6   |
7   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
8   = note: for more information, see issue #91632 <https://github.com/rust-lang/rust/issues/91632>
9   = note: `#[deny(deprecated_cfg_attr_crate_type_name)]` on by default
10
11error: `crate_name` within an `#![cfg_attr] attribute is deprecated`
12  --> $DIR/future-compat-crate-attributes-using-cfg_attr.rs:9:18
13   |
14LL | #![cfg_attr(foo, crate_name="bar")]
15   |                  ^^^^^^^^^^^^^^^^
16   |
17   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
18   = note: for more information, see issue #91632 <https://github.com/rust-lang/rust/issues/91632>
19
20error: `crate_type` within an `#![cfg_attr] attribute is deprecated`
21  --> $DIR/future-compat-crate-attributes-using-cfg_attr.rs:4:18
22   |
23LL | #![cfg_attr(foo, crate_type="bin")]
24   |                  ^^^^^^^^^^^^^^^^
25   |
26   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
27   = note: for more information, see issue #91632 <https://github.com/rust-lang/rust/issues/91632>
28
29error: `crate_name` within an `#![cfg_attr] attribute is deprecated`
30  --> $DIR/future-compat-crate-attributes-using-cfg_attr.rs:9:18
31   |
32LL | #![cfg_attr(foo, crate_name="bar")]
33   |                  ^^^^^^^^^^^^^^^^
34   |
35   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
36   = note: for more information, see issue #91632 <https://github.com/rust-lang/rust/issues/91632>
37
38error: aborting due to 4 previous errors
39