We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 064bbb8 commit 91734f1Copy full SHA for 91734f1
compiler/rustc_query_system/src/dep_graph/serialized.rs
@@ -89,16 +89,6 @@ impl ColorAndOffset {
89
ColorAndOffset(AtomicU64::new(val))
90
}
91
92
- #[allow(dead_code)]
93
- fn new(color: DepNodeColor, range: Range<usize>) -> ColorAndOffset {
94
- let start: u32 = range.start.try_into().unwrap();
95
- let end: u32 = range.end.try_into().unwrap();
96
- let val = (start as u64) << 32 | (end as u64);
97
- debug_assert_eq!(val & TAG_MASK, 0);
98
- let val = val | color.tag();
99
- ColorAndOffset(AtomicU64::new(val))
100
- }
101
-
102
fn set_lifted(&self, color: DepNodeColor, range: Range<usize>) {
103
let start: u32 = range.start.try_into().unwrap();
104
let end: u32 = range.end.try_into().unwrap();
0 commit comments