Remove a couple of unused Encodable and Decodable derives

This commit is contained in:
bjorn3 2021-06-03 11:16:05 +02:00
parent e40d5e83dc
commit fc2abe6952
2 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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,