about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src/unhash.rs
AgeCommit message (Collapse)AuthorLines
2024-10-05Handle `clippy` cases of `rustc::potential_query_instability` lintismailarilik-0/+1
2020-09-01Avoid rehashing Fingerprint as a map keyJosh Stone-0/+29
This introduces a no-op `Unhasher` for map keys that are already hash- like, for example `Fingerprint` and its wrapper `DefPathHash`. For these we can directly produce the `u64` hash for maps. The first use of this is `def_path_hash_to_def_id: Option<UnhashMap<DefPathHash, DefId>>`.