We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TrivialClone
Clone
Copy
1 parent 335eb90 commit df9d8b8Copy full SHA for df9d8b8
core/src/clone.rs
@@ -280,7 +280,7 @@ pub const unsafe trait TrivialClone: [const] Clone {}
280
/// Derive macro generating an impl of the trait `Clone`.
281
#[rustc_builtin_macro]
282
#[stable(feature = "builtin_macro_prelude", since = "1.38.0")]
283
-#[allow_internal_unstable(core_intrinsics, derive_clone_copy)]
+#[allow_internal_unstable(core_intrinsics, derive_clone_copy, trivial_clone)]
284
pub macro Clone($item:item) {
285
/* compiler built-in */
286
}
0 commit comments