-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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.
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)
or ZeroizeOnDrop
with #32, no other traits are affected.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request