]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_query_system/src/dep_graph/dep_node.rs
New upstream version 1.49.0~beta.4+dfsg1
[rustc.git] / compiler / rustc_query_system / src / dep_graph / dep_node.rs
index e302784cc3e5fb5f78820d90b70ca436b0e700a1..7808a28dff0b7ed220cb17f4eb0359f437b8c484 100644 (file)
@@ -165,10 +165,6 @@ impl WorkProductId {
         cgu_name.hash(&mut hasher);
         WorkProductId { hash: hasher.finish() }
     }
-
-    pub fn from_fingerprint(fingerprint: Fingerprint) -> WorkProductId {
-        WorkProductId { hash: fingerprint }
-    }
 }
 
 impl<HCX> HashStable<HCX> for WorkProductId {