We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SsoHashMap
1 parent 32de28a commit 2d42758Copy full SHA for 2d42758
compiler/rustc_type_ir/src/search_graph/mod.rs
@@ -20,6 +20,7 @@ use std::marker::PhantomData;
20
use std::{iter, mem};
21
22
use derive_where::derive_where;
23
+use rustc_data_structures::sso::SsoHashMap;
24
#[cfg(feature = "nightly")]
25
use rustc_macros::{Decodable_NoContext, Encodable_NoContext, HashStable_NoContext};
26
use rustc_type_ir::data_structures::HashMap;
@@ -229,7 +230,7 @@ impl Usages {
229
230
231
#[derive(Debug, Default)]
232
pub struct CandidateUsages {
- usages: HashMap<StackDepth, Usages>,
233
+ usages: SsoHashMap<StackDepth, Usages>,
234
}
235
impl CandidateUsages {
236
pub fn add_usages(&mut self, mut other: CandidateUsages) {
0 commit comments