mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 04:39:16 +00:00
9 lines
261 B
Plaintext
9 lines
261 B
Plaintext
error: to use a constant of type `EnumSet<Enum8>` in a pattern, the type must implement `PartialEq`
|
|
--> $DIR/issue-72896-non-partial-eq-const.rs:19:9
|
|
|
|
|
LL | CONST_SET => { /* ok */ }
|
|
| ^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|