remove DefId::to_dep_node (dead code)
This commit is contained in:
parent
2f64ab6633
commit
e0e9ff06af
1 changed files with 0 additions and 6 deletions
|
|
@ -396,12 +396,6 @@ impl DefPathHash {
|
|||
}
|
||||
}
|
||||
|
||||
impl DefId {
|
||||
pub fn to_dep_node(self, tcx: TyCtxt<'_>, kind: DepKind) -> DepNode {
|
||||
DepNode::from_def_path_hash(kind, tcx.def_path_hash(self))
|
||||
}
|
||||
}
|
||||
|
||||
rustc_dep_node_append!([define_dep_nodes!][ <'tcx>
|
||||
// We use this for most things when incr. comp. is turned off.
|
||||
[] Null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue