diff options
Diffstat (limited to 'src/test/ui/suggestions/missing-bound-in-derive-copy-impl.rs')
-rw-r--r-- | src/test/ui/suggestions/missing-bound-in-derive-copy-impl.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/suggestions/missing-bound-in-derive-copy-impl.rs b/src/test/ui/suggestions/missing-bound-in-derive-copy-impl.rs deleted file mode 100644 index 52163bddd..000000000 --- a/src/test/ui/suggestions/missing-bound-in-derive-copy-impl.rs +++ /dev/null @@ -1,15 +0,0 @@ -use std::fmt::Debug; - -#[derive(Debug, Copy, Clone)] -pub struct Vector2<T: Debug + Copy + Clone>{ - pub x: T, - pub y: T -} - -#[derive(Debug, Copy, Clone)] //~ ERROR the trait `Copy` may not be implemented for this type -pub struct AABB<K>{ - pub loc: Vector2<K>, - pub size: Vector2<K> -} - -fn main() {} |