7 impl EnumSetType for Enum8 {
11 #[derive(PartialEq, Eq)]
12 struct EnumSet<T: EnumSetType> {
13 __enumset_underlying: T::Repr,
16 const CONST_SET: EnumSet<Enum8> = EnumSet { __enumset_underlying: 3 };
20 CONST_SET => { /* ok */ }
21 _ => panic!("match fell through?"),