You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I didn't know this about Rust, but apparently you can't implement Drop unless the item you are implementing it for uses the same constraints, e.g. you can't specialize your Drop implementation by adding a where clause that doesn't exists on the item definition.
Will have to explore this further. Nothing wrong with derive-where, but a better error message could help. This only applies to Zeroize(drop) or ZeroizeOnDrop with #32, no other traits are affected.
The text was updated successfully, but these errors were encountered:
I didn't know this about Rust, but apparently you can't implement
Drop
unless the item you are implementing it for uses the same constraints, e.g. you can't specialize yourDrop
implementation by adding awhere
clause that doesn't exists on the item definition.https://doc.rust-lang.org/error-index.html#E0367
Will have to explore this further. Nothing wrong with derive-where, but a better error message could help. This only applies to
Zeroize(drop)
orZeroizeOnDrop
with #32, no other traits are affected.The text was updated successfully, but these errors were encountered: