Skip to content

Commit e0e9ff0

Browse files
committed
remove DefId::to_dep_node (dead code)
1 parent 2f64ab6 commit e0e9ff0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/librustc/dep_graph/dep_node.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -396,12 +396,6 @@ impl DefPathHash {
396396
}
397397
}
398398

399-
impl DefId {
400-
pub fn to_dep_node(self, tcx: TyCtxt<'_>, kind: DepKind) -> DepNode {
401-
DepNode::from_def_path_hash(kind, tcx.def_path_hash(self))
402-
}
403-
}
404-
405399
rustc_dep_node_append!([define_dep_nodes!][ <'tcx>
406400
// We use this for most things when incr. comp. is turned off.
407401
[] Null,

0 commit comments

Comments
 (0)