mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Add to macro testing infra to emit token map ids
This commit is contained in:
parent
77f08d0fc3
commit
64cb09ddea
5 changed files with 151 additions and 17 deletions
|
@ -245,6 +245,10 @@ impl DeclarativeMacro {
|
|||
None => (id, Origin::Def),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn shift(&self) -> Shift {
|
||||
self.shift
|
||||
}
|
||||
}
|
||||
|
||||
impl Rule {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue