rust/tests/ui/typeck/nonexistent-field-not-ambig...

9 lines
149 B
Rust

struct Foo {
val: MissingType,
//~^ ERROR cannot find type `MissingType` in this scope
}
fn main() {
Foo { val: Default::default() };
}