9 lines
273 B
Plaintext
9 lines
273 B
Plaintext
error: to use a constant of type `MyType` in a pattern, `MyType` must be annotated with `#[derive(PartialEq, Eq)]`
|
|
--> $DIR/const-partial_eq-fallback-ice.rs:14:12
|
|
|
|
|
LL | if let CONSTANT = &&MyType {
|
|
| ^^^^^^^^
|
|
|
|
error: aborting due to previous error
|
|
|