]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_span/src/def_id.rs
Encode ExpnId using ExpnHash for incr. comp.
[rust.git] / compiler / rustc_span / src / def_id.rs
index c5d605ab57801ef752442942270b4e49fac541e7..64baf94cc00631047475a4c5443751b23d209e62 100644 (file)
@@ -136,7 +136,7 @@ fn borrow(&self) -> &Fingerprint {
 /// 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 {