]> git.lizzy.rs Git - rust.git/blob - tests/ui/conditional-compilation/cfg-attr-multi-invalid-1.rs
Rollup merge of #103702 - WaffleLapkin:lift-sized-bounds-from-pointer-methods-where...
[rust.git] / tests / ui / conditional-compilation / cfg-attr-multi-invalid-1.rs
1 // compile-flags: --cfg broken
2
3 #![crate_type = "lib"]
4 #![cfg_attr(broken, no_core, no_std)]
5 //~^ ERROR the `#[no_core]` attribute is an experimental feature
6
7 pub struct S {}