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.
1 parent 61ff271 commit 77773adCopy full SHA for 77773ad
library/core/src/mem/mod.rs
@@ -968,6 +968,7 @@ pub const fn replace<T>(dest: &mut T, src: T) -> T {
968
/// Integers and other types implementing [`Copy`] are unaffected by `drop`.
969
///
970
/// ```
971
+/// # #![cfg_attr(not(bootstrap), allow(drop_copy))]
972
/// #[derive(Copy, Clone)]
973
/// struct Foo(u8);
974
0 commit comments