mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-03 17:35:28 +03:00
make set_span public, as all the fields it touches are public already
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user