1 error: `crate_type` within an `#![cfg_attr] attribute is deprecated`
2 --> $DIR/future-compat-crate-attributes-using-cfg_attr.rs:4:18
4 LL | #![cfg_attr(foo, crate_type="bin")]
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
11 error: `crate_name` within an `#![cfg_attr] attribute is deprecated`
12 --> $DIR/future-compat-crate-attributes-using-cfg_attr.rs:9:18
14 LL | #![cfg_attr(foo, crate_name="bar")]
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>
20 error: `crate_type` within an `#![cfg_attr] attribute is deprecated`
21 --> $DIR/future-compat-crate-attributes-using-cfg_attr.rs:4:18
23 LL | #![cfg_attr(foo, crate_type="bin")]
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>
29 error: `crate_name` within an `#![cfg_attr] attribute is deprecated`
30 --> $DIR/future-compat-crate-attributes-using-cfg_attr.rs:9:18
32 LL | #![cfg_attr(foo, crate_name="bar")]
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>
38 error: aborting due to 4 previous errors