1 warning: the feature `generic_associated_types` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/issue-68641-check-gat-bounds.rs:3:12
4 LL | #![feature(generic_associated_types)]
5 | ^^^^^^^^^^^^^^^^^^^^^^^^
7 = note: `#[warn(incomplete_features)]` on by default
8 = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
10 error[E0277]: the trait bound `T: Copy` is not satisfied
11 --> $DIR/issue-68641-check-gat-bounds.rs:15:5
13 LL | type Item<'a>: Copy;
14 | ---- required by this bound in `UnsafeCopy::Item`
16 LL | type Item<'a> = T;
17 | ^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `T`
19 help: consider restricting type parameter `T`
21 LL | impl<T: Copy> UnsafeCopy for T {
24 error: aborting due to previous error; 1 warning emitted
26 For more information about this error, try `rustc --explain E0277`.