]> git.lizzy.rs Git - rust.git/blob - src/test/ui/cfg/future-compat-crate-attributes-using-cfg_attr.stderr
Rollup merge of #105758 - Nilstrieb:typeck-results-mod, r=compiler-errors
[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:4:18
3    |
4 LL | #![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
11 error: `crate_name` within an `#![cfg_attr] attribute is deprecated`
12   --> $DIR/future-compat-crate-attributes-using-cfg_attr.rs:9:18
13    |
14 LL | #![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
20 error: `crate_type` within an `#![cfg_attr] attribute is deprecated`
21   --> $DIR/future-compat-crate-attributes-using-cfg_attr.rs:4:18
22    |
23 LL | #![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
29 error: `crate_name` within an `#![cfg_attr] attribute is deprecated`
30   --> $DIR/future-compat-crate-attributes-using-cfg_attr.rs:9:18
31    |
32 LL | #![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
38 error: aborting due to 4 previous errors
39