1 error[E0204]: the trait `Copy` may not be implemented for this type
5 | ------------- this field does not implement `Copy`
7 LL | impl Copy for Foo { }
10 error[E0204]: the trait `Copy` may not be implemented for this type
11 --> $DIR/E0204.rs:7:10
15 LL | struct Foo2<'a> {
16 LL | ty: &'a mut bool,
17 | ---------------- this field does not implement `Copy`
19 error[E0204]: the trait `Copy` may not be implemented for this type
20 --> $DIR/E0204.rs:17:6
22 LL | Bar { x: Vec<u32> },
23 | ----------- this field does not implement `Copy`
25 LL | impl Copy for EFoo { }
28 error[E0204]: the trait `Copy` may not be implemented for this type
29 --> $DIR/E0204.rs:19:10
34 LL | Bar(&'a mut bool),
35 | ------------ this field does not implement `Copy`
37 error: aborting due to 4 previous errors
39 For more information about this error, try `rustc --explain E0204`.