Infer trait bounds for generic derives #3032
Labels
A-derive
Area: #[derive]` macro API
C-enhancement
Category: Raise on the bar on expectations
E-medium
Call for participation: Experience needed to fix: Medium / intermediate
Building off of #2769 / #3023, we should allow inferring trait bounds.
So instead of
The user does
like they do with when deriving
Copy
,Clone
, serde types, etc.See https://serde.rs/attr-bound.html for some inspiration on issues to deal with.
The text was updated successfully, but these errors were encountered: