We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0f80653 + 863d2d9 commit bb13aabCopy full SHA for bb13aab
src/libcore/alloc/mod.rs
@@ -18,7 +18,7 @@ use crate::ptr::{self, NonNull};
18
/// something wrong when combining the given input arguments with this
19
/// allocator.
20
#[unstable(feature = "allocator_api", issue = "32838")]
21
-#[derive(Clone, PartialEq, Eq, Debug)]
+#[derive(Copy, Clone, PartialEq, Eq, Debug)]
22
pub struct AllocErr;
23
24
// (we need this for downstream impl of trait Error)
0 commit comments