We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bc0a378 + b9ef6cf commit 5febf27Copy full SHA for 5febf27
crates/ra_hir/src/semantics.rs
@@ -321,6 +321,7 @@ impl<'db> SemanticsImpl<'db> {
321
let sa = self.analyze2(parent.as_ref(), None);
322
323
let token = successors(Some(parent.with_value(token)), |token| {
324
+ self.db.check_canceled();
325
let macro_call = token.value.ancestors().find_map(ast::MacroCall::cast)?;
326
let tt = macro_call.token_tree()?;
327
if !tt.syntax().text_range().contains_range(token.value.text_range()) {
0 commit comments