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