libsyntax: Remove Mark into ExpnId
This commit is contained in:
@@ -19,7 +19,7 @@ use crate::parse::Directory;
|
||||
use crate::parse::token::{self, DelimToken, Token, TokenKind};
|
||||
use crate::print::pprust;
|
||||
|
||||
use syntax_pos::{BytePos, Mark, Span, DUMMY_SP};
|
||||
use syntax_pos::{BytePos, ExpnId, Span, DUMMY_SP};
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
use rustc_data_structures::static_assert_size;
|
||||
use rustc_data_structures::sync::Lrc;
|
||||
@@ -545,7 +545,7 @@ impl DelimSpan {
|
||||
self.open.with_hi(self.close.hi())
|
||||
}
|
||||
|
||||
pub fn apply_mark(self, mark: Mark) -> Self {
|
||||
pub fn apply_mark(self, mark: ExpnId) -> Self {
|
||||
DelimSpan {
|
||||
open: self.open.apply_mark(mark),
|
||||
close: self.close.apply_mark(mark),
|
||||
|
||||
Reference in New Issue
Block a user