about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src/svh.rs
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-12-31 19:35:32 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-12-31 20:42:17 +0000
commit6ed37bdc4260bdf64acf0cb2c728d6724c94ac3d (patch)
tree3df832c93a180eeac81b2705954c0fb3c59ccef1 /compiler/rustc_data_structures/src/svh.rs
parent1c204623386a86d5d6391111b42fc06686374c85 (diff)
downloadrust-6ed37bdc4260bdf64acf0cb2c728d6724c94ac3d.tar.gz
rust-6ed37bdc4260bdf64acf0cb2c728d6724c94ac3d.zip
Avoid specialization for the Span Encodable and Decodable impls
Diffstat (limited to 'compiler/rustc_data_structures/src/svh.rs')
-rw-r--r--compiler/rustc_data_structures/src/svh.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/svh.rs b/compiler/rustc_data_structures/src/svh.rs
index 71679086f16..1cfc9fecd47 100644
--- a/compiler/rustc_data_structures/src/svh.rs
+++ b/compiler/rustc_data_structures/src/svh.rs
@@ -10,7 +10,7 @@ use std::fmt;
 
 use crate::stable_hasher;
 
-#[derive(Copy, Clone, PartialEq, Eq, Debug, Encodable, Decodable, Hash)]
+#[derive(Copy, Clone, PartialEq, Eq, Debug, Encodable_Generic, Decodable_Generic, Hash)]
 pub struct Svh {
     hash: Fingerprint,
 }