mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
9 lines
238 B
Plaintext
9 lines
238 B
Plaintext
error: to use a constant of type `&[B]` in a pattern, the type must implement `PartialEq`
|
|
--> $DIR/issue-61188-match-slice-forbidden-without-eq.rs:15:9
|
|
|
|
|
LL | A => (),
|
|
| ^
|
|
|
|
error: aborting due to 1 previous error
|
|
|