mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
51f79b618d
Avoid rehashing Fingerprint as a map key 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>>`. cc #56308 r? @eddyb |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |