1 2 3 4 5 6 7 8 9 10 11
use enum_parity::bit_parity; #[bit_parity(even)] #[repr(C)] enum Foo { A, B, C, } fn main() {}