]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/nonexistent-field-not-ambiguous.rs
Rollup merge of #106860 - anden3:doc-double-spaces, r=Dylan-DPC
[rust.git] / tests / ui / typeck / nonexistent-field-not-ambiguous.rs
1 struct Foo {
2     val: MissingType,
3     //~^ ERROR cannot find type `MissingType` in this scope
4 }
5
6 fn main() {
7     Foo { val: Default::default() };
8 }