enum Abc { B(int), C { v: int }, } fn main() { let b: Abc = Abc::B(123); let c = Abc::C { v: 123 }; }