fn main() {
    struct Foo { x: isize }
    match (Foo { x: 10 }) {
        Foo { ref x: ref x } => {}, //~ ERROR expected `,`
                                    //~| ERROR pattern does not mention field `x`
        _ => {}
    }
}
