f9f354fc |
1 | error: to use a constant of type `Foo` in a pattern, `Foo` must be annotated with `#[derive(PartialEq, Eq)]` |
f035d41b |
2 | --> $DIR/no-eq-branch-fail.rs:21:9 |
f9f354fc XL |
3 | | |
4 | LL | BAR_BAZ => panic!(), |
5 | | ^^^^^^^ |
6 | |
1b1a35ee |
7 | error: aborting due to previous error |
f9f354fc |
8 | |