From 443333dc1f8d464ed9f3d166a847f4703ad078ae Mon Sep 17 00:00:00 2001 From: Camille GILLOT Date: Mon, 4 Apr 2022 22:19:25 +0200 Subject: Remove NodeIdHashingMode. --- compiler/rustc_data_structures/src/stable_hasher.rs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'compiler/rustc_data_structures/src') 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( } } -#[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, } -- cgit 1.4.1-3-g733a5