Don't require a QueryContext to access the DepGraph.
This commit is contained in:
@@ -79,7 +79,7 @@ impl<K: DepKind> DepNode<K> {
|
||||
|
||||
pub fn construct<Ctxt, Key>(tcx: Ctxt, kind: K, arg: &Key) -> DepNode<K>
|
||||
where
|
||||
Ctxt: crate::query::QueryContext<DepKind = K>,
|
||||
Ctxt: super::DepContext<DepKind = K>,
|
||||
Key: DepNodeParams<Ctxt>,
|
||||
{
|
||||
let hash = arg.to_fingerprint(tcx);
|
||||
|
||||
Reference in New Issue
Block a user