//@ known-bug: #119824 #![feature(generic_const_exprs)] const fn t() -> u8 { N as u8 } #[repr(u8)] enum T::A as u8 + T::<0>::B as u8 }> where [(); N as usize]: { A = t::() as u8, B }