Remove QueryAccessors::to_dep_node.
This commit is contained in:
parent
211b05aef3
commit
6f04883023
1 changed files with 0 additions and 7 deletions
|
@ -80,13 +80,6 @@ pub trait QueryAccessors<CTX: QueryContext>: QueryConfig {
|
||||||
where
|
where
|
||||||
CTX: 'a;
|
CTX: 'a;
|
||||||
|
|
||||||
fn to_dep_node(tcx: CTX, key: &Self::Key) -> DepNode<CTX::DepKind>
|
|
||||||
where
|
|
||||||
Self::Key: crate::dep_graph::DepNodeParams<CTX>,
|
|
||||||
{
|
|
||||||
DepNode::construct(tcx, Self::DEP_KIND, key)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Don't use this method to compute query results, instead use the methods on TyCtxt
|
// Don't use this method to compute query results, instead use the methods on TyCtxt
|
||||||
fn compute(tcx: CTX, key: Self::Key) -> Self::Value;
|
fn compute(tcx: CTX, key: Self::Key) -> Self::Value;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue