]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/impl-bounds-checking.rs
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / impl-bounds-checking.rs
diff --git a/src/test/ui/impl-bounds-checking.rs b/src/test/ui/impl-bounds-checking.rs
deleted file mode 100644 (file)
index 5e65a27..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-pub trait Clone2 {
-    fn clone(&self) -> Self;
-}
-
-
-trait Getter<T: Clone2> {
-    fn get(&self) -> T;
-}
-
-impl Getter<isize> for isize { //~ ERROR `isize: Clone2` is not satisfied
-    fn get(&self) -> isize { *self }
-}
-
-fn main() { }