struct Abc { f1 int @[required] f2 int f3 fn () @[attr1; attr2; required] } fn main() { _ = Abc{ f1: 123 f3: fn () {} } _ = Abc{ f1: 123 f2: 789 } }