]> git.proxmox.com Git - rustc.git/blob - src/test/ui/rfc1445/issue-61118-match-slice-forbidden-without-eq.stderr
New upstream version 1.39.0+dfsg1
[rustc.git] / src / test / ui / rfc1445 / issue-61118-match-slice-forbidden-without-eq.stderr
1 error: to use a constant of type `B` in a pattern, `B` must be annotated with `#[derive(PartialEq, Eq)]`
2 --> $DIR/issue-61118-match-slice-forbidden-without-eq.rs:15:9
3 |
4 LL | A => (),
5 | ^
6
7 error: aborting due to previous error
8