2020-09-23 17:52:37 +02:00
|
|
|
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
|
2020-09-20 17:22:33 +02:00
|
|
|
|
|
2020-09-23 17:52:37 +02:00
|
|
|
LL | C => {}
|
|
|
|
| ^
|
2023-03-27 10:14:08 -04:00
|
|
|
|
|
|
|
|
= 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
|
2019-01-14 19:51:00 +01:00
|
|
|
|
2020-09-23 18:36:53 +02:00
|
|
|
error: aborting due to previous error
|
2019-01-14 19:51:00 +01:00
|
|
|
|