Rollup merge of #71440 - TimDiekmann:copy-allocerr, r=Amanieu
Implement `Copy` for `AllocErr` r? @Amanieu
This commit is contained in:
commit
bb13aab8e5
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ use crate::ptr::{self, NonNull};
|
|||
/// something wrong when combining the given input arguments with this
|
||||
/// allocator.
|
||||
#[unstable(feature = "allocator_api", issue = "32838")]
|
||||
#[derive(Clone, PartialEq, Eq, Debug)]
|
||||
#[derive(Copy, Clone, PartialEq, Eq, Debug)]
|
||||
pub struct AllocErr;
|
||||
|
||||
// (we need this for downstream impl of trait Error)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue