Skip to content

Commit 2c3b4ff

Browse files
committed
Remove dead code.
1 parent e475a69 commit 2c3b4ff

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

compiler/rustc_middle/src/ty/context.rs

-15
Original file line numberDiff line numberDiff line change
@@ -1561,21 +1561,6 @@ impl<'tcx> TyCtxt<'tcx> {
15611561
f(hcx)
15621562
}
15631563

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-
15791564
pub fn serialize_query_result_cache(self, encoder: FileEncoder) -> FileEncodeResult {
15801565
self.on_disk_cache.as_ref().map_or(Ok(0), |c| c.serialize(self, encoder))
15811566
}

0 commit comments

Comments
 (0)