]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/suggestions/missing-bound-in-derive-copy-impl-2.rs
4 #[derive(Debug, Copy, Clone)]
5 pub struct Vector2
<T
: Debug
+ Copy
+ Clone
>{
10 #[derive(Debug, Copy, Clone)]
11 pub struct AABB
<K
: Debug
>{
12 pub loc
: Vector2
<K
>, //~ ERROR the trait bound `K: Copy` is not satisfied