make set_span public, as all the fields it touches are public already
This commit is contained in:
parent
43cdfbb3fe
commit
e92bde373a
1 changed files with 1 additions and 1 deletions
|
|
@ -297,7 +297,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
|
|||
}
|
||||
|
||||
#[inline(always)]
|
||||
pub(crate) fn set_span(&mut self, span: Span) {
|
||||
pub fn set_span(&mut self, span: Span) {
|
||||
self.tcx.span = span;
|
||||
self.memory.tcx.span = span;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue