Rust Internals
#[derive(Clone)] places unnecessarily restrictive bounds on type parameter
compiler
Ixrec
October 9, 2018, 10:53am
4
It takes a while to really digest why derive bounds are hard just from the issue, so I'd also cite
1 Like
show post in topic
Related Topics
Topic
Replies
Views
Activity
Idea: explicit type parameters for derivation
language design
23
2327
October 13, 2019
Misplaced trait bounds using derive in stdlib
2
647
April 6, 2021
[RFC] Reduce false positives for "private type in public interface"
language design
5
1514
March 25, 2019
Overly restrictive trait bounds on derives
9
843
November 1, 2022
Bounds when deriving on PhantomData
libs
7
1075
May 17, 2022