1 2 3 4 5 6 7 8 9 10
struct BuildData { foo: isize, bar: Box<isize>, } fn main() { let foo = BuildData { //~ ERROR missing field `bar` in initializer of `BuildData` foo: 0 }; }