mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
Remove usages of Span::DUMMY
This commit is contained in:
parent
f48ecb6e09
commit
4ec81230db
20 changed files with 90 additions and 87 deletions
|
@ -252,8 +252,9 @@ impl<S: Span> DeclarativeMacro<S> {
|
|||
tt: &tt::Subtree<S>,
|
||||
marker: impl Fn(&mut S) + Copy,
|
||||
new_meta_vars: bool,
|
||||
call_site: S,
|
||||
) -> ExpandResult<tt::Subtree<S>> {
|
||||
expander::expand_rules(&self.rules, &tt, marker, self.is_2021, new_meta_vars)
|
||||
expander::expand_rules(&self.rules, &tt, marker, self.is_2021, new_meta_vars, call_site)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue