We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
AllocErr
1 parent 82e90d6 commit 863d2d9Copy full SHA for 863d2d9
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