diff options
| author | bors <bors@rust-lang.org> | 2022-04-13 11:27:17 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-04-13 11:27:17 +0000 |
| commit | f38c5c8e5d76ea9a87fece143425ef7c703c706a (patch) | |
| tree | 05774f4f660bfb0765be683efe20655447a316f5 /compiler/rustc_data_structures/src | |
| parent | e3c43e64eceb00e13b1932229aa9b2d774e6af96 (diff) | |
| parent | 0927a35e807eccd0bffc3811e44e2fc3b8616849 (diff) | |
| download | rust-f38c5c8e5d76ea9a87fece143425ef7c703c706a.tar.gz rust-f38c5c8e5d76ea9a87fece143425ef7c703c706a.zip | |
Auto merge of #95656 - cjgillot:no-id-hashing-mode, r=Aaron1011
Remove NodeIdHashingMode. r? `@ghost`
Diffstat (limited to 'compiler/rustc_data_structures/src')
| -rw-r--r-- | compiler/rustc_data_structures/src/stable_hasher.rs | 7 |
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, } |
