Simplify DepNodeParams.

This commit is contained in:
Camille GILLOT 2020-10-27 19:54:28 +01:00
parent 79a57625f5
commit d1220fdedf
2 changed files with 20 additions and 11 deletions

View file

@ -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