1 2 3 4 5 6 7 8
struct Foo { val: MissingType, //~^ ERROR cannot find type `MissingType` in this scope } fn main() { Foo { val: Default::default() }; }