Encode ExpnId using ExpnHash for incr. comp.
This commit is contained in:
parent
2fe37c5bd1
commit
37a13def48
6 changed files with 160 additions and 120 deletions
|
@ -136,7 +136,7 @@ impl Borrow<Fingerprint> for DefPathHash {
|
|||
/// further trouble.
|
||||
#[derive(Copy, Clone, Hash, PartialEq, Eq, PartialOrd, Ord, Debug)]
|
||||
#[derive(HashStable_Generic, Encodable, Decodable)]
|
||||
pub struct StableCrateId(u64);
|
||||
pub struct StableCrateId(pub(crate) u64);
|
||||
|
||||
impl StableCrateId {
|
||||
pub fn to_u64(self) -> u64 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue