2024-05-03 15:24:53 +02:00
|
|
|
error: to use a constant of type `NoDerive` in a pattern, `NoDerive` must be annotated with `#[derive(PartialEq)]`
|
|
|
|
--> $DIR/cant-hide-behind-doubly-indirect-embedded.rs:22:9
|
2019-07-03 16:54:08 +02:00
|
|
|
|
|
|
|
|
LL | WRAP_DOUBLY_INDIRECT_INLINE => { panic!("WRAP_DOUBLY_INDIRECT_INLINE matched itself"); }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2023-03-27 10:14:08 -04:00
|
|
|
= note: the traits must be derived, manual `impl`s are not sufficient
|
2023-09-26 09:39:41 +02:00
|
|
|
= note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details
|
2020-03-11 16:30:09 +01:00
|
|
|
|
2024-05-03 15:24:53 +02:00
|
|
|
error: aborting due to 1 previous error
|
2024-01-27 13:52:06 +01:00
|
|
|
|