about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2022-04-04 22:19:25 +0200
committerCamille GILLOT <gillot.camille@gmail.com>2022-04-12 19:59:32 +0200
commit443333dc1f8d464ed9f3d166a847f4703ad078ae (patch)
tree8fd022c8bc9308552c5aa6f5148c4fe3b2c1e4f6 /compiler/rustc_data_structures/src
parent341883d051ebbfaa6daa456b198d557fa0272b71 (diff)
downloadrust-443333dc1f8d464ed9f3d166a847f4703ad078ae.tar.gz
rust-443333dc1f8d464ed9f3d166a847f4703ad078ae.zip
Remove NodeIdHashingMode.
Diffstat (limited to 'compiler/rustc_data_structures/src')
-rw-r--r--compiler/rustc_data_structures/src/stable_hasher.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/rustc_data_structures/src/stable_hasher.rs b/compiler/rustc_data_structures/src/stable_hasher.rs
index e8d81d4b937..85ad0f2f7f5 100644
--- a/compiler/rustc_data_structures/src/stable_hasher.rs
+++ b/compiler/rustc_data_structures/src/stable_hasher.rs
@@ -612,12 +612,6 @@ fn stable_hash_reduce<HCX, I, C, F>(
     }
 }
 
-#[derive(PartialEq, Eq, Clone, Copy, Hash, Debug)]
-pub enum NodeIdHashingMode {
-    Ignore,
-    HashDefPath,
-}
-
 /// Controls what data we do or not not hash.
 /// Whenever a `HashStable` implementation caches its
 /// result, it needs to include `HashingControls` as part
@@ -628,5 +622,4 @@ pub enum NodeIdHashingMode {
 #[derive(Clone, Hash, Eq, PartialEq, Debug)]
 pub struct HashingControls {
     pub hash_spans: bool,
-    pub node_id_hashing_mode: NodeIdHashingMode,
 }