Skip to content

Commit ac33d10

Browse files
committed
Group dep node data into a single structure
1 parent 8b85975 commit ac33d10

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
@@ -434,17 +434,6 @@ impl DefId {
434434
}
435435
}
436436

437-
impl DepKind {
438-
#[inline]
439-
pub fn fingerprint_needed_for_crate_hash(self) -> bool {
440-
match self {
441-
DepKind::HirBody |
442-
DepKind::Krate => true,
443-
_ => false,
444-
}
445-
}
446-
}
447-
448437
define_dep_nodes!( <'tcx>
449438
// We use this for most things when incr. comp. is turned off.
450439
[] Null,

0 commit comments

Comments
 (0)