make set_span public, as all the fields it touches are public already

This commit is contained in:
Ralf Jung
2020-04-05 17:37:35 +02:00
parent 43cdfbb3fe
commit e92bde373a
+1 -1
View File
@@ -297,7 +297,7 @@ pub fn new(
}
#[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;
}