Remove a couple of unused Encodable and Decodable derives
This commit is contained in:
parent
e40d5e83dc
commit
fc2abe6952
2 changed files with 3 additions and 3 deletions
|
|
@ -574,7 +574,7 @@ impl Align {
|
|||
}
|
||||
|
||||
/// A pair of alignments, ABI-mandated and preferred.
|
||||
#[derive(Copy, Clone, PartialEq, Eq, Hash, Debug, Encodable, Decodable)]
|
||||
#[derive(Copy, Clone, PartialEq, Eq, Hash, Debug)]
|
||||
#[derive(HashStable_Generic)]
|
||||
pub struct AbiAndPrefAlign {
|
||||
pub abi: Align,
|
||||
|
|
|
|||
|
|
@ -211,7 +211,7 @@ impl ToJson for PanicStrategy {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Hash, Encodable, Decodable)]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Hash)]
|
||||
pub enum RelroLevel {
|
||||
Full,
|
||||
Partial,
|
||||
|
|
@ -255,7 +255,7 @@ impl ToJson for RelroLevel {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Hash, Encodable, Decodable)]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Hash)]
|
||||
pub enum MergeFunctions {
|
||||
Disabled,
|
||||
Trampolines,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue