diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2020-10-27 19:54:28 +0100 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-01-08 17:29:49 +0100 |
| commit | d1220fdedf030049a22a3ae430e15fda2a3f4477 (patch) | |
| tree | bd867f3fd414b46e1b4b586e4efc4e73406dcdaf /compiler/rustc_query_system | |
| parent | 79a57625f5900a67cb76732c4bb7634778f066ae (diff) | |
| download | rust-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.rs | 6 |
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 |
