Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 947f7f2

Browse files
committed
rustc_span: Restore use of data_untracked instead of data
1 parent 00c399e commit 947f7f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_span/src/span_encoding.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ impl Span {
304304
#[inline]
305305
pub fn update_ctxt(&mut self, update: impl FnOnce(SyntaxContext) -> SyntaxContext) {
306306
// FIXME(#125017): Update ctxt inline without touching interner when possible.
307-
let data = self.data();
307+
let data = self.data_untracked();
308308
*self = data.with_ctxt(update(data.ctxt));
309309
}
310310

0 commit comments

Comments
 (0)