diff options
| author | Ben Kimock <kimockb@gmail.com> | 2025-02-15 15:18:19 -0500 |
|---|---|---|
| committer | Ben Kimock <kimockb@gmail.com> | 2025-02-16 16:18:30 -0500 |
| commit | 4cf21866e8f18449ea0c41ee1ba031c05419d94c (patch) | |
| tree | 1bb6febab86e57c90e368461886364404a60cf0f /compiler/rustc_span/src/lib.rs | |
| parent | 1d7cf0ff407beea447334c2784d39658e4be3ca0 (diff) | |
| download | rust-4cf21866e8f18449ea0c41ee1ba031c05419d94c.tar.gz rust-4cf21866e8f18449ea0c41ee1ba031c05419d94c.zip | |
Move hashes from rustc_data_structure to rustc_hashes so they can be shared with rust-analyzer
Diffstat (limited to 'compiler/rustc_span/src/lib.rs')
| -rw-r--r-- | compiler/rustc_span/src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_span/src/lib.rs b/compiler/rustc_span/src/lib.rs index 0e146baef37..695edc956cd 100644 --- a/compiler/rustc_span/src/lib.rs +++ b/compiler/rustc_span/src/lib.rs @@ -87,9 +87,10 @@ use std::sync::Arc; use std::{fmt, iter}; use md5::{Digest, Md5}; -use rustc_data_structures::stable_hasher::{Hash64, Hash128, HashStable, StableHasher}; +use rustc_data_structures::stable_hasher::{HashStable, StableHasher}; use rustc_data_structures::sync::{FreezeLock, FreezeWriteGuard, Lock}; use rustc_data_structures::unord::UnordMap; +use rustc_hashes::{Hash64, Hash128}; use sha1::Sha1; use sha2::Sha256; |
