summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src/fingerprint.rs
AgeCommit message (Collapse)AuthorLines
2020-10-13Replace absolute paths with relative onesest31-2/+2
Modern compilers allow reaching external crates like std or core via relative paths in modules outside of lib.rs and main.rs.
2020-09-01Avoid rehashing Fingerprint as a map keyJosh Stone-1/+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>>`.
2020-08-30mv compiler to compiler/mark-0/+130