1 error: to use a constant of type `B` in a pattern, `B` must be annotated with `#[derive(PartialEq, Eq)]`
2 --> $DIR/issue-61188-match-slice-forbidden-without-eq.rs:15:9
7 = note: the traits must be derived, manual `impl`s are not sufficient
8 = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralEq.html for details
10 error: aborting due to previous error