summary refs log tree commit diff
path: root/compiler/rustc_query_system
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2020-10-27 19:54:28 +0100
committerCamille GILLOT <gillot.camille@gmail.com>2021-01-08 17:29:49 +0100
commitd1220fdedf030049a22a3ae430e15fda2a3f4477 (patch)
treebd867f3fd414b46e1b4b586e4efc4e73406dcdaf /compiler/rustc_query_system
parent79a57625f5900a67cb76732c4bb7634778f066ae (diff)
downloadrust-d1220fdedf030049a22a3ae430e15fda2a3f4477.tar.gz
rust-d1220fdedf030049a22a3ae430e15fda2a3f4477.zip
Simplify DepNodeParams.
Diffstat (limited to 'compiler/rustc_query_system')
-rw-r--r--compiler/rustc_query_system/src/dep_graph/dep_node.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/rustc_query_system/src/dep_graph/dep_node.rs b/compiler/rustc_query_system/src/dep_graph/dep_node.rs
index ff52fdab19c..64aba870502 100644
--- a/compiler/rustc_query_system/src/dep_graph/dep_node.rs
+++ b/compiler/rustc_query_system/src/dep_graph/dep_node.rs
@@ -153,12 +153,6 @@ where
     }
 }
 
-impl<Ctxt: DepContext> DepNodeParams<Ctxt> for () {
-    fn to_fingerprint(&self, _: Ctxt) -> Fingerprint {
-        Fingerprint::ZERO
-    }
-}
-
 /// A "work product" corresponds to a `.o` (or other) file that we
 /// save in between runs. These IDs do not have a `DefId` but rather
 /// some independent path or string that persists between runs without