1 2 3 4 5 6 7 8 9 10 11 12
// run-pass #![allow(unused_variables)] // `#[cfg]` on struct field permits empty unusable struct struct S { #[cfg(untrue)] a: int, } fn main() { let s = S {}; }