blob: 039852ad16596a13f092975b9a7e7b845d39818c [file] [log] [blame]
error[E0277]: the trait bound `T: Copy` is not satisfied
--> $DIR/issue-43784-associated-type.rs:14:18
|
LL | type Assoc = T;
| ^ the trait `Copy` is not implemented for `T`
|
help: consider restricting type parameter `T`
|
LL | impl<T: Copy> Complete for T {
| ^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.