1 error: unreachable pattern
2 --> $DIR/struct-pattern-match-useless.rs:12:9
4 LL | Foo { x: _x, y: _y } => (),
5 | -------------------- matches any value
7 | ^^^^^^^^^^ unreachable pattern
9 note: the lint level is defined here
10 --> $DIR/struct-pattern-match-useless.rs:1:9
12 LL | #![deny(unreachable_patterns)]
13 | ^^^^^^^^^^^^^^^^^^^^
15 error: aborting due to previous error