#[lang = "clone"]
#[rustc_diagnostic_item = "Clone"]
#[rustc_trivial_field_reads]
-#[cfg_attr(not(bootstrap), const_trait)]
+#[const_trait]
pub trait Clone: Sized {
/// Returns a copy of the value.
///
/// allocations.
#[inline]
#[stable(feature = "rust1", since = "1.0.0")]
- #[cfg_attr(bootstrap, default_method_body_is_const)]
fn clone_from(&mut self, source: &Self)
where
Self: ~const Destruct,