1 error: to use a constant of type `Opaque` in a pattern, `Opaque` must be annotated with `#[derive(PartialEq, Eq)]`
2 --> $DIR/issue-78057.rs:12:9
7 error: unreachable pattern
8 --> $DIR/issue-78057.rs:14:9
11 | --- matches any value
14 | ^ unreachable pattern
16 note: the lint level is defined here
17 --> $DIR/issue-78057.rs:1:9
19 LL | #![deny(unreachable_patterns)]
20 | ^^^^^^^^^^^^^^^^^^^^
22 error: aborting due to 2 previous errors