6 match Foo { //~ ERROR expected value, found struct `Foo`
7 x: 3 //~ ERROR expected one of `=>`, `@`, `if`, or `|`, found `:`
9 Foo { //~ ERROR mismatched types
10 x: x //~ ERROR cannot find value `x` in this scope
11 } => {} //~ ERROR expected one of `.`, `;`, `?`, `}`, or an operator, found `=>`