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_abi/src | |
| 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_abi/src')
| -rw-r--r-- | compiler/rustc_abi/src/layout.rs | 2 | ||||
| -rw-r--r-- | compiler/rustc_abi/src/lib.rs | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/compiler/rustc_abi/src/layout.rs b/compiler/rustc_abi/src/layout.rs index 9e33824afe2..45cd0b517f6 100644 --- a/compiler/rustc_abi/src/layout.rs +++ b/compiler/rustc_abi/src/layout.rs @@ -2,7 +2,7 @@ use std::fmt::{self, Write}; use std::ops::{Bound, Deref}; use std::{cmp, iter}; -use rustc_data_structures::stable_hasher::Hash64; +use rustc_hashes::Hash64; use rustc_index::Idx; use tracing::debug; diff --git a/compiler/rustc_abi/src/lib.rs b/compiler/rustc_abi/src/lib.rs index d3847e5f272..dbb4bed5cdd 100644 --- a/compiler/rustc_abi/src/lib.rs +++ b/compiler/rustc_abi/src/lib.rs @@ -48,9 +48,9 @@ use std::ops::{Add, AddAssign, Mul, RangeInclusive, Sub}; use std::str::FromStr; use bitflags::bitflags; -use rustc_data_structures::stable_hasher::Hash64; #[cfg(feature = "nightly")] use rustc_data_structures::stable_hasher::StableOrd; +use rustc_hashes::Hash64; use rustc_index::{Idx, IndexSlice, IndexVec}; #[cfg(feature = "nightly")] use rustc_macros::{Decodable_Generic, Encodable_Generic, HashStable_Generic}; | 
