mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
Remove a couple of unused Encodable and Decodable derives
This commit is contained in:
parent
e40d5e83dc
commit
fc2abe6952
@ -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…
Reference in New Issue
Block a user