We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b76a5be commit 27b25ebCopy full SHA for 27b25eb
src/librustc_mir/interpret/intrinsics/caller_location.rs
@@ -59,7 +59,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
59
self.alloc_caller_location(file, line, column)
60
}
61
62
- pub fn location_triple_for_span(&self, span: Span) -> (Symbol, u32, u32) {
+ pub(super) fn location_triple_for_span(&self, span: Span) -> (Symbol, u32, u32) {
63
let topmost = span.ctxt().outer_expn().expansion_cause().unwrap_or(span);
64
let caller = self.tcx.sess.source_map().lookup_char_pos(topmost.lo());
65
(
0 commit comments