We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e475a69 commit 2c3b4ffCopy full SHA for 2c3b4ff
compiler/rustc_middle/src/ty/context.rs
@@ -1561,21 +1561,6 @@ impl<'tcx> TyCtxt<'tcx> {
1561
f(hcx)
1562
}
1563
1564
- #[inline(always)]
1565
- pub fn with_no_span_stable_hashing_context<R>(
1566
- self,
1567
- f: impl FnOnce(StableHashingContext<'_>) -> R,
1568
- ) -> R {
1569
- let definitions = self.definitions_untracked();
1570
- let hcx = StableHashingContext::ignore_spans(
1571
- self.sess,
1572
- &*definitions,
1573
- &*self.cstore,
1574
- &self.untracked_resolutions.source_span,
1575
- );
1576
- f(hcx)
1577
- }
1578
-
1579
pub fn serialize_query_result_cache(self, encoder: FileEncoder) -> FileEncodeResult {
1580
self.on_disk_cache.as_ref().map_or(Ok(0), |c| c.serialize(self, encoder))
1581
0 commit comments