// attempting to confuse Discriminant into thinking // the fake repr is the real repr use safe_discriminant::Discriminant; use safe_discriminant_derive::repr; #[derive(Discriminant)] #[crate::repr(u8)] pub enum Foo { A = 0, B = 1, } fn main() {}