// Bitfield enums with any discriminant (implicit or explicit) outside of the // range 0..2^BITS should fail to compile. use scryer_modular_bitfield::prelude::*; const F: isize = 1; #[derive(BitfieldSpecifier)] pub enum DeliveryMode { Fixed = F, Lowest, SMI, RemoteRead, NMI, Init, Startup, External, } fn main() {}