From 33debc40654be9e9061c53784f6c762b2fd21eba Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Mon, 17 May 2021 19:07:10 +0200 Subject: Update salsa --- crates/hir_def/src/nameres/collector.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/hir_def') diff --git a/crates/hir_def/src/nameres/collector.rs b/crates/hir_def/src/nameres/collector.rs index 4296c6304..716dcf1f7 100644 --- a/crates/hir_def/src/nameres/collector.rs +++ b/crates/hir_def/src/nameres/collector.rs @@ -351,7 +351,7 @@ impl DefCollector<'_> { let mut i = 0; 'outer: loop { loop { - self.db.check_canceled(); + self.db.unwind_if_cancelled(); loop { if self.resolve_imports() == ReachedFixedPoint::Yes { break; @@ -831,7 +831,7 @@ impl DefCollector<'_> { vis: Visibility, import_type: ImportType, ) { - self.db.check_canceled(); + self.db.unwind_if_cancelled(); self.update_recursive(module_id, resolutions, vis, import_type, 0) } -- cgit v1.2.3