Skip to content

Commit a426d47

Browse files
committed
Group dep node data into a single structure
1 parent f39bd9b commit a426d47

File tree

3 files changed

+165
-170
lines changed

3 files changed

+165
-170
lines changed

src/librustc/dep_graph/dep_node.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -423,17 +423,6 @@ impl DefId {
423423
}
424424
}
425425

426-
impl DepKind {
427-
#[inline]
428-
pub fn fingerprint_needed_for_crate_hash(self) -> bool {
429-
match self {
430-
DepKind::HirBody |
431-
DepKind::Krate => true,
432-
_ => false,
433-
}
434-
}
435-
}
436-
437426
define_dep_nodes!( <'tcx>
438427
// We use this for most things when incr. comp. is turned off.
439428
[] Null,

0 commit comments

Comments
 (0)