make set_span public, as all the fields it touches are public already
This commit is contained in:
parent
43cdfbb3fe
commit
e92bde373a
@ -297,7 +297,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
pub(crate) fn set_span(&mut self, span: Span) {
|
pub fn set_span(&mut self, span: Span) {
|
||||||
self.tcx.span = span;
|
self.tcx.span = span;
|
||||||
self.memory.tcx.span = span;
|
self.memory.tcx.span = span;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user