]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc1445/match-requires-both-partialeq-and-eq.stderr
Move parse-fail tests to UI
[rust.git] / src / test / ui / rfc1445 / match-requires-both-partialeq-and-eq.stderr
1 error: to use a constant of type `Foo` in a pattern, `Foo` must be annotated with `#[derive(PartialEq, Eq)]`
2   --> $DIR/match-requires-both-partialeq-and-eq.rs:27:9
3    |
4 LL |         FOO => { }
5    |         ^^^
6
7 error: aborting due to previous error
8