Closed boomshroom closed 9 months ago
Thanks for opening this issue @boomshroom! I have now implemented this, and it will be included in v0.9.0, which hopefully will be published in a few days time. The reason why PartialEq
is currently manually implemented was so that it could be a const
implementation on nightly, but since that feature is no longer available for the time being, I'll just remove it 👍.
v0.9.0
has just been released which fixes this, so closing this issue. Thanks!
The manual implementation of
Eq
andPartialEq
prevents the compiler from recognizing their implementation as structural and so forbids pattern matching on const values.