1
Fork 0

Access StableHashingContext in rustc_query_system.

This commit is contained in:
Camille GILLOT 2021-09-26 01:40:17 +02:00
parent 471cb5c149
commit fedd7785fe
6 changed files with 17 additions and 25 deletions

View file

@ -90,10 +90,9 @@ impl rustc_query_system::dep_graph::DepKind for DepKind {
impl<'tcx> DepContext for TyCtxt<'tcx> {
type DepKind = DepKind;
type StableHashingContext = StableHashingContext<'tcx>;
#[inline]
fn create_stable_hashing_context(&self) -> Self::StableHashingContext {
fn create_stable_hashing_context(&self) -> StableHashingContext<'_> {
TyCtxt::create_stable_hashing_context(*self)
}