mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
Update salsa
This commit is contained in:
parent
d0a4ba294c
commit
33debc4065
16 changed files with 94 additions and 189 deletions
|
@ -361,7 +361,7 @@ impl<'db> SemanticsImpl<'db> {
|
|||
let sa = self.analyze(&parent);
|
||||
|
||||
let token = successors(Some(InFile::new(sa.file_id, token)), |token| {
|
||||
self.db.check_canceled();
|
||||
self.db.unwind_if_cancelled();
|
||||
let macro_call = token.value.ancestors().find_map(ast::MacroCall::cast)?;
|
||||
let tt = macro_call.token_tree()?;
|
||||
if !tt.syntax().text_range().contains_range(token.value.text_range()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue