mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-01 04:18:20 +00:00
Merge pull request #18858 from davidbarsky/davidbarsky/fix-18854
fix: clear diagnostics on cancel unconditionally
This commit is contained in:
commit
ccc7468995
1 changed files with 2 additions and 2 deletions
|
|
@ -419,9 +419,9 @@ impl FlycheckActor {
|
|||
command_handle.cancel();
|
||||
self.command_receiver.take();
|
||||
self.report_progress(Progress::DidCancel);
|
||||
self.diagnostics_cleared_for.clear();
|
||||
self.diagnostics_received = false;
|
||||
}
|
||||
self.diagnostics_cleared_for.clear();
|
||||
self.diagnostics_received = false;
|
||||
}
|
||||
|
||||
/// Construct a `Command` object for checking the user's code. If the user
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue