Skip to content

Commit 6f04883

Browse files
committed
Remove QueryAccessors::to_dep_node.
1 parent 211b05a commit 6f04883

File tree

1 file changed

+0
-7
lines changed
  • compiler/rustc_query_system/src/query

1 file changed

+0
-7
lines changed

compiler/rustc_query_system/src/query/config.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,6 @@ pub trait QueryAccessors<CTX: QueryContext>: QueryConfig {
8080
where
8181
CTX: 'a;
8282

83-
fn to_dep_node(tcx: CTX, key: &Self::Key) -> DepNode<CTX::DepKind>
84-
where
85-
Self::Key: crate::dep_graph::DepNodeParams<CTX>,
86-
{
87-
DepNode::construct(tcx, Self::DEP_KIND, key)
88-
}
89-
9083
// Don't use this method to compute query results, instead use the methods on TyCtxt
9184
fn compute(tcx: CTX, key: Self::Key) -> Self::Value;
9285

0 commit comments

Comments
 (0)