fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error: unreachable pattern 2 --> $DIR/struct-pattern-match-useless.rs:12:9 3 | 4LL | Foo { x: _x, y: _y } => (), 5 | -------------------- matches any value 6LL | Foo { .. } => () 7 | ^^^^^^^^^^ unreachable pattern 8 | 9note: the lint level is defined here 10 --> $DIR/struct-pattern-match-useless.rs:1:9 11 | 12LL | #![deny(unreachable_patterns)] 13 | ^^^^^^^^^^^^^^^^^^^^ 14 15error: aborting due to previous error 16