mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 11:44:28 +00:00
9 lines
251 B
Plaintext
9 lines
251 B
Plaintext
error: to use a constant of type `B` in a pattern, `B` must be annotated with `#[derive(PartialEq, Eq)]`
|
|
--> $DIR/issue-61188-match-slice-forbidden-without-eq.rs:15:9
|
|
|
|
|
LL | A => (),
|
|
| ^
|
|
|
|
error: aborting due to previous error
|
|
|