Sign in
fuchsia
/
third_party
/
rust
/
3c2fd1a72d2e8cc80b354b4d2dd7931a7afe1b02
/
.
/
src
/
test
/
ui
/
conditional-compilation
/
cfg-attr-crate-2.rs
blob: 7dbeba53afcfe61739ffbb50f05d6821c8ed9a5a [
file
] [
log
] [
blame
]
// https://github.com/rust-lang/rust/issues/21833#issuecomment-72353044
// compile-flags: --cfg broken
#![
crate_type
=
"lib"
]
#![
cfg_attr
(
broken
,
no_core
)]
//~ ERROR the `#[no_core]` attribute is an experimental feature
pub
struct
S
{}