]> git.proxmox.com Git - rustc.git/blame - src/test/ui/rfc1445/match-requires-both-partialeq-and-eq.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / rfc1445 / match-requires-both-partialeq-and-eq.stderr
CommitLineData
b7449926 1error: to use a constant of type `Foo` in a pattern, `Foo` must be annotated with `#[derive(PartialEq, Eq)]`
0731742a 2 --> $DIR/match-requires-both-partialeq-and-eq.rs:17:9
b7449926
XL
3 |
4LL | FOO => { }
5 | ^^^
6
1b1a35ee 7error: aborting due to previous error
b7449926 8