blob: fb5cbe0ed8980ddbc4fb1b2b6ded97186099638a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error: to use a constant of type `S` in a pattern, `S` must be annotated with `#[derive(PartialEq, Eq)]`
--> $DIR/match_ice.rs:11:9
|
LL | C => {}
| ^
|
= note: the traits must be derived, manual `impl`s are not sufficient
= note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralEq.html for details
error: aborting due to 1 previous error
|