1 error: `crate_type` within an `#![cfg_attr] attribute is deprecated`
2 --> $DIR/future-compat-crate-attributes-using-cfg_attr.rs:5:18
4 LL | #![cfg_attr(foo, crate_type="bin")]
7 note: the lint level is defined here
8 --> $DIR/future-compat-crate-attributes-using-cfg_attr.rs:4:9
10 LL | #![deny(warnings)]
12 = note: `#[deny(deprecated_cfg_attr_crate_type_name)]` implied by `#[deny(warnings)]`
13 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
14 = note: for more information, see issue #91632 <https://github.com/rust-lang/rust/issues/91632>
16 error: `crate_name` within an `#![cfg_attr] attribute is deprecated`
17 --> $DIR/future-compat-crate-attributes-using-cfg_attr.rs:10:18
19 LL | #![cfg_attr(foo, crate_name="bar")]
22 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
23 = note: for more information, see issue #91632 <https://github.com/rust-lang/rust/issues/91632>
25 error: `crate_type` within an `#![cfg_attr] attribute is deprecated`
26 --> $DIR/future-compat-crate-attributes-using-cfg_attr.rs:5:18
28 LL | #![cfg_attr(foo, crate_type="bin")]
31 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
32 = note: for more information, see issue #91632 <https://github.com/rust-lang/rust/issues/91632>
34 error: `crate_name` within an `#![cfg_attr] attribute is deprecated`
35 --> $DIR/future-compat-crate-attributes-using-cfg_attr.rs:10:18
37 LL | #![cfg_attr(foo, crate_name="bar")]
40 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
41 = note: for more information, see issue #91632 <https://github.com/rust-lang/rust/issues/91632>
43 error: aborting due to 4 previous errors