1- error: `crate_type` within an `#![cfg_attr] attribute is deprecated`
1+ error: `crate_type` within an `#![cfg_attr]` attribute is deprecated
22 --> $DIR/future-compat-crate-attributes-using-cfg_attr.rs:4:18
33 |
44LL | #![cfg_attr(foo, crate_type="bin")]
@@ -8,7 +8,7 @@ LL | #![cfg_attr(foo, crate_type="bin")]
88 = note: for more information, see issue #91632 <https://github.com/rust-lang/rust/issues/91632>
99 = note: `#[deny(deprecated_cfg_attr_crate_type_name)]` on by default
1010
11- error: `crate_name` within an `#![cfg_attr] attribute is deprecated`
11+ error: `crate_name` within an `#![cfg_attr]` attribute is deprecated
1212 --> $DIR/future-compat-crate-attributes-using-cfg_attr.rs:9:18
1313 |
1414LL | #![cfg_attr(foo, crate_name="bar")]
@@ -17,7 +17,7 @@ LL | #![cfg_attr(foo, crate_name="bar")]
1717 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
1818 = note: for more information, see issue #91632 <https://github.com/rust-lang/rust/issues/91632>
1919
20- error: `crate_type` within an `#![cfg_attr] attribute is deprecated`
20+ error: `crate_type` within an `#![cfg_attr]` attribute is deprecated
2121 --> $DIR/future-compat-crate-attributes-using-cfg_attr.rs:4:18
2222 |
2323LL | #![cfg_attr(foo, crate_type="bin")]
@@ -27,7 +27,7 @@ LL | #![cfg_attr(foo, crate_type="bin")]
2727 = note: for more information, see issue #91632 <https://github.com/rust-lang/rust/issues/91632>
2828 = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
2929
30- error: `crate_name` within an `#![cfg_attr] attribute is deprecated`
30+ error: `crate_name` within an `#![cfg_attr]` attribute is deprecated
3131 --> $DIR/future-compat-crate-attributes-using-cfg_attr.rs:9:18
3232 |
3333LL | #![cfg_attr(foo, crate_name="bar")]
0 commit comments