mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
9 lines
264 B
Rust
9 lines
264 B
Rust
// https://github.com/rust-lang/rust/issues/21833#issuecomment-72353044
|
|
|
|
//@ compile-flags: --cfg broken --check-cfg=cfg(broken)
|
|
|
|
#![crate_type = "lib"]
|
|
#![cfg_attr(broken, no_core)] //~ ERROR the `#[no_core]` attribute is an experimental feature
|
|
|
|
pub struct S {}
|