about summary refs log tree commit diff
diff options
context:
space:
mode:
authorShoyu Vanilla (Flint) <modulo641@gmail.com>2025-08-11 18:18:55 +0900
committerGitHub <noreply@github.com>2025-08-11 18:18:55 +0900
commit7daaa4ee01f4c4d026293a6e3a90e4c8b4f5aa12 (patch)
tree332cade7c48dc954b74802871f75e5f67c9086a9
parent6bb9af0eeb944611c3c87adca77afe86eda193d0 (diff)
downloadrust-7daaa4ee01f4c4d026293a6e3a90e4c8b4f5aa12.tar.gz
rust-7daaa4ee01f4c4d026293a6e3a90e4c8b4f5aa12.zip
hotfix: Update flycheck diagnostics generation
-rw-r--r--src/tools/rust-analyzer/crates/rust-analyzer/src/diagnostics.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/rust-analyzer/crates/rust-analyzer/src/diagnostics.rs b/src/tools/rust-analyzer/crates/rust-analyzer/src/diagnostics.rs
index cd7c632d105..2711bdba693 100644
--- a/src/tools/rust-analyzer/crates/rust-analyzer/src/diagnostics.rs
+++ b/src/tools/rust-analyzer/crates/rust-analyzer/src/diagnostics.rs
@@ -134,6 +134,7 @@ impl DiagnosticCollection {
         if self.check[flycheck_id].generation > generation {
             return;
         }
+        self.check[flycheck_id].generation = generation;
         let diagnostics = self.check[flycheck_id]
             .per_package
             .entry(package_id.clone())