diff options
| author | ismailarilik <arilik.ismail@gmail.com> | 2024-10-05 07:34:14 +0300 |
|---|---|---|
| committer | ismailarilik <arilik.ismail@gmail.com> | 2024-10-05 07:34:14 +0300 |
| commit | 925e7e6baf435e68b463f9e31911d28118de318e (patch) | |
| tree | 45bd3959c5cfd9d5286eae15edd51b26bbe29c59 /compiler/rustc_data_structures/src | |
| parent | c39f318c5e734e7f254c6b2589205d6ed936443d (diff) | |
| download | rust-925e7e6baf435e68b463f9e31911d28118de318e.tar.gz rust-925e7e6baf435e68b463f9e31911d28118de318e.zip | |
Handle `clippy` cases of `rustc::potential_query_instability` lint
Diffstat (limited to 'compiler/rustc_data_structures/src')
| -rw-r--r-- | compiler/rustc_data_structures/src/unhash.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_data_structures/src/unhash.rs b/compiler/rustc_data_structures/src/unhash.rs index 48e21a9dab1..0617ef83aad 100644 --- a/compiler/rustc_data_structures/src/unhash.rs +++ b/compiler/rustc_data_structures/src/unhash.rs @@ -3,6 +3,7 @@ use std::hash::{BuildHasherDefault, Hasher}; pub type UnhashMap<K, V> = HashMap<K, V, BuildHasherDefault<Unhasher>>; pub type UnhashSet<V> = HashSet<V, BuildHasherDefault<Unhasher>>; +pub type UnindexMap<K, V> = indexmap::IndexMap<K, V, BuildHasherDefault<Unhasher>>; /// This no-op hasher expects only a single `write_u64` call. It's intended for /// map keys that already have hash-like quality, like `Fingerprint`. |
