]> git.lizzy.rs Git - rust.git/blob - src/test/ui/cfg/future-compat-crate-attributes-using-cfg_attr.stderr
5609f8e9d9f3610d26499267a4db99e87571205c
[rust.git] / src / test / ui / cfg / future-compat-crate-attributes-using-cfg_attr.stderr
1 error: `crate_type` within an `#![cfg_attr] attribute is deprecated`
2   --> $DIR/future-compat-crate-attributes-using-cfg_attr.rs:5:18
3    |
4 LL | #![cfg_attr(foo, crate_type="bin")]
5    |                  ^^^^^^^^^^^^^^^^
6    |
7 note: the lint level is defined here
8   --> $DIR/future-compat-crate-attributes-using-cfg_attr.rs:4:9
9    |
10 LL | #![deny(warnings)]
11    |         ^^^^^^^^
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>
15
16 error: `crate_name` within an `#![cfg_attr] attribute is deprecated`
17   --> $DIR/future-compat-crate-attributes-using-cfg_attr.rs:10:18
18    |
19 LL | #![cfg_attr(foo, crate_name="bar")]
20    |                  ^^^^^^^^^^^^^^^^
21    |
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>
24
25 error: `crate_type` within an `#![cfg_attr] attribute is deprecated`
26   --> $DIR/future-compat-crate-attributes-using-cfg_attr.rs:5:18
27    |
28 LL | #![cfg_attr(foo, crate_type="bin")]
29    |                  ^^^^^^^^^^^^^^^^
30    |
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>
33
34 error: `crate_name` within an `#![cfg_attr] attribute is deprecated`
35   --> $DIR/future-compat-crate-attributes-using-cfg_attr.rs:10:18
36    |
37 LL | #![cfg_attr(foo, crate_name="bar")]
38    |                  ^^^^^^^^^^^^^^^^
39    |
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>
42
43 error: aborting due to 4 previous errors
44