src/tools/rust-analyzer/crates/rust-analyzer/src/flycheck.rs
@@ -419,9 +419,9 @@ impl FlycheckActor {
419
command_handle.cancel();
420
self.command_receiver.take();
421
self.report_progress(Progress::DidCancel);
422
- self.diagnostics_cleared_for.clear();
423
- self.diagnostics_received = false;
424
}
+ self.diagnostics_cleared_for.clear();
+ self.diagnostics_received = false;
425
426
427
/// Construct a `Command` object for checking the user's code. If the user
0 commit comments