]> git.lizzy.rs Git - rust.git/commit
Auto merge of #12808 - Veykril:check-workspace, r=Veykril
authorbors <bors@rust-lang.org>
Thu, 4 Aug 2022 12:57:04 +0000 (12:57 +0000)
committerbors <bors@rust-lang.org>
Thu, 4 Aug 2022 12:57:04 +0000 (12:57 +0000)
commit0fe3bcfd3524a023a11c95d0615178e897f72200
tree4f4499d9577c4f89f485d33f967835ecddf24d22
parentc6a9fbfd00aa6c587b40ce4dbb58da871b6e8aff
parentdf7f755e3b08e58a30bdbb39685bea76be7762ba
Auto merge of #12808 - Veykril:check-workspace, r=Veykril

feat: Only flycheck workspace that belongs to saved file

Supercedes https://github.com/rust-lang/rust-analyzer/pull/11038

There is still the problem that all the diagnostics are cleared, only clearing diagnostics of the relevant workspace isn't easily doable though I think, will have to dig into that
crates/flycheck/src/lib.rs
crates/paths/src/lib.rs
crates/rust-analyzer/src/global_state.rs
crates/rust-analyzer/src/handlers.rs
crates/rust-analyzer/src/main_loop.rs
crates/rust-analyzer/src/reload.rs