]> git.proxmox.com Git - rustc.git/blobdiff - src/libcore/clone.rs
New upstream version 1.14.0+dfsg1
[rustc.git] / src / libcore / clone.rs
index 0b800cacfc19adbd41909051c8c233b1ef5f83f1..d72b18ae345ce144018d56722403516f99727bdd 100644 (file)
@@ -129,13 +129,6 @@ pub struct AssertParamIsClone<T: Clone + ?Sized> { _field: ::marker::PhantomData
            reason = "deriving hack, should not be public",
            issue = "0")]
 pub struct AssertParamIsCopy<T: Copy + ?Sized> { _field: ::marker::PhantomData<T> }
-#[cfg(stage0)]
-#[doc(hidden)]
-#[inline(always)]
-#[unstable(feature = "derive_clone_copy",
-           reason = "deriving hack, should not be public",
-           issue = "0")]
-pub fn assert_receiver_is_clone<T: Clone + ?Sized>(_: &T) {}
 
 #[stable(feature = "rust1", since = "1.0.0")]
 impl<'a, T: ?Sized> Clone for &'a T {