Skip to content

Commit 433ef82

Browse files
committed
Auto merge of #57061 - Zoxc:graph-refactor, r=michaelwoerister
Group dep node data into a single structure r? @michaelwoerister
2 parents aeed63b + 2738f2c commit 433ef82

File tree

3 files changed

+193
-187
lines changed

3 files changed

+193
-187
lines changed

src/librustc/dep_graph/dep_node.rs

-11
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)