mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 11:44:28 +00:00
8 lines
200 B
Rust
8 lines
200 B
Rust
//@ compile-flags: --cfg broken --check-cfg=cfg(broken)
|
|
|
|
#![crate_type = "lib"]
|
|
#![cfg_attr(broken, no_core, no_std)]
|
|
//~^ ERROR the `#[no_core]` attribute is an experimental feature
|
|
|
|
pub struct S {}
|