1 error[E0277]: the trait bound `Rc<u32>: Copy` is not satisfied
2 --> $DIR/union-generic.rs:8:13
4 LL | union U<T: Copy> {
5 | ---------------- required by `U`
7 LL | let u = U { a: Rc::new(0u32) };
8 | ^ the trait `Copy` is not implemented for `Rc<u32>`
10 error[E0277]: the trait bound `Rc<u32>: Copy` is not satisfied
11 --> $DIR/union-generic.rs:10:13
13 LL | union U<T: Copy> {
14 | ---------------- required by `U`
16 LL | let u = U::<Rc<u32>> { a: Default::default() };
17 | ^^^^^^^^^^^^ the trait `Copy` is not implemented for `Rc<u32>`
19 error: aborting due to 2 previous errors
21 For more information about this error, try `rustc --explain E0277`.