about summary refs log tree commit diff
path: root/compiler/rustc_span/src/crate_disambiguator.rs
AgeCommit message (Collapse)AuthorLines
2021-07-06Revert "Revert "Merge CrateDisambiguator into StableCrateId""bjorn3-35/+0
This reverts commit 8176ab8bc18fdd7d3c2cf7f720c51166364c33a3.
2021-06-07Revert "Merge CrateDisambiguator into StableCrateId"bjorn3-0/+35
This reverts commit d0ec85d3fb6d322496cb8f4bc1c21e19f23284ad.
2021-05-30Merge CrateDisambiguator into StableCrateIdbjorn3-35/+0
2021-02-02Let a portion of DefPathHash uniquely identify the DefPath's crate.Michael Woerister-0/+35
This allows to directly map from a DefPathHash to the crate it originates from, without constructing side tables to do that mapping. It also allows to reliably and cheaply check for DefPathHash collisions.