]> git.lizzy.rs Git - rust.git/blob - tests/ui/conditional-compilation/cfg-attr-crate-2.stderr
Rollup merge of #107700 - jyn514:tools-builder, r=Mark-Simulacrum
[rust.git] / tests / ui / conditional-compilation / cfg-attr-crate-2.stderr
1 error[E0658]: the `#[no_core]` attribute is an experimental feature
2   --> $DIR/cfg-attr-crate-2.rs:6:21
3    |
4 LL | #![cfg_attr(broken, no_core)]
5    |                     ^^^^^^^
6    |
7    = note: see issue #29639 <https://github.com/rust-lang/rust/issues/29639> for more information
8    = help: add `#![feature(no_core)]` to the crate attributes to enable
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0658`.