diff options
| author | Lukas Wirth <me@lukaswirth.dev> | 2025-08-11 09:31:31 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-11 09:31:31 +0000 |
| commit | 1b5dbd9dfadd1019fc4447d602eda706fbf7fcdd (patch) | |
| tree | 332cade7c48dc954b74802871f75e5f67c9086a9 | |
| parent | 6bb9af0eeb944611c3c87adca77afe86eda193d0 (diff) | |
| parent | 7daaa4ee01f4c4d026293a6e3a90e4c8b4f5aa12 (diff) | |
| download | rust-1b5dbd9dfadd1019fc4447d602eda706fbf7fcdd.tar.gz rust-1b5dbd9dfadd1019fc4447d602eda706fbf7fcdd.zip | |
Merge pull request #20429 from ShoyuVanilla/master
hotfix: Update flycheck diagnostics generation
| -rw-r--r-- | src/tools/rust-analyzer/crates/rust-analyzer/src/diagnostics.rs | 1 |
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()) |
