提交 2c3b4ff9 编写于 作者: C Camille GILLOT

Remove dead code.

上级 e475a69f
......@@ -1561,21 +1561,6 @@ pub fn with_stable_hashing_context<R>(
f(hcx)
}
#[inline(always)]
pub fn with_no_span_stable_hashing_context<R>(
self,
f: impl FnOnce(StableHashingContext<'_>) -> R,
) -> R {
let definitions = self.definitions_untracked();
let hcx = StableHashingContext::ignore_spans(
self.sess,
&*definitions,
&*self.cstore,
&self.untracked_resolutions.source_span,
);
f(hcx)
}
pub fn serialize_query_result_cache(self, encoder: FileEncoder) -> FileEncodeResult {
self.on_disk_cache.as_ref().map_or(Ok(0), |c| c.serialize(self, encoder))
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册