Access StableHashingContext in rustc_query_system.
This commit is contained in:
parent
471cb5c149
commit
fedd7785fe
6 changed files with 17 additions and 25 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue