Keep ctxt in encoded span representation.
This commit is contained in:
parent
75b7e52e92
commit
b2a17e9bd1
2 changed files with 23 additions and 12 deletions
|
@ -533,9 +533,6 @@ impl Span {
|
|||
self.data().with_hi(hi)
|
||||
}
|
||||
#[inline]
|
||||
pub fn ctxt(self) -> SyntaxContext {
|
||||
self.data_untracked().ctxt
|
||||
}
|
||||
pub fn eq_ctxt(self, other: Span) -> bool {
|
||||
self.data_untracked().ctxt == other.data_untracked().ctxt
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue