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