Closed
Description
struct Foo;
#[derive(Copy, Clone)]
struct Bar(Foo);
fn main() {}
<anon>:2:10: 2:14 error: the trait `Copy` may not be implemented for this type; field `<unnamed_field>` does not implement `Copy` [E0204]
<anon>:2 #[derive(Copy, Clone)]
^~~~
It'd be nice to mention either the type, or the field index. (Or both.)