blob: 358421cd6d24c6bdb5f3ffd68efef89218d5fefb (
plain)
1
2
3
4
5
6
7
8
|
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
|