mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Pass calling span through to builtin macro expansions
This commit is contained in:
parent
f48fa0c6cb
commit
0003e568ca
27 changed files with 623 additions and 497 deletions
|
@ -56,16 +56,6 @@ impl std::fmt::Debug for TokenId {
|
|||
|
||||
impl tt::Span for TokenId {
|
||||
const DUMMY: Self = TokenId(!0);
|
||||
|
||||
type Anchor = ();
|
||||
|
||||
fn anchor(self) -> Self::Anchor {
|
||||
()
|
||||
}
|
||||
|
||||
fn mk(_: Self::Anchor, _: text_size::TextRange) -> Self {
|
||||
Self::DUMMY
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue