diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-06-03 11:16:05 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2022-06-03 16:46:19 +0000 |
| commit | fc2abe6952a00c21a2bb77ad8bd86dcb6e6abea2 (patch) | |
| tree | 5262986ac298374ce9be1030213ab86f8a176e5f /compiler/rustc_target/src/spec | |
| parent | e40d5e83dc133d093c22c7ff016b10daa4f40dcf (diff) | |
| download | rust-fc2abe6952a00c21a2bb77ad8bd86dcb6e6abea2.tar.gz rust-fc2abe6952a00c21a2bb77ad8bd86dcb6e6abea2.zip | |
Remove a couple of unused Encodable and Decodable derives
Diffstat (limited to 'compiler/rustc_target/src/spec')
| -rw-r--r-- | compiler/rustc_target/src/spec/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_target/src/spec/mod.rs b/compiler/rustc_target/src/spec/mod.rs index 6dd245b047c..b4e34a2aaf2 100644 --- a/compiler/rustc_target/src/spec/mod.rs +++ b/compiler/rustc_target/src/spec/mod.rs @@ -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, |
