blob: 4157cf65283e3d24ae23c88e23d5c9b9692f0716 (
plain)
1
2
3
4
5
6
7
8
|
error: to use a constant of type `Foo` in a pattern, `Foo` must be annotated with `#[derive(PartialEq, Eq)]`
--> $DIR/match-requires-both-partialeq-and-eq.rs:17:9
|
LL | FOO => { }
| ^^^
error: aborting due to previous error
|