summary refs log tree commit diff
path: root/src/tools/rust-analyzer/crates/flycheck
AgeCommit message (Collapse)AuthorLines
2024-06-01Auto merge of #17302 - mladedav:dm/fix-clear, r=Veykrilbors-0/+27
fix diagnostics clearing when flychecks run per-workspace This might be causing #17300 or it's a different bug with the same functionality. I wonder if the decision to clear diagnostics should stay in the main loop or maybe the flycheck itself should track it and tell the mainloop? I have used a hash map but we could just as well use a vector since the IDs are `usizes` in some given range starting at 0. It would be probably faster but this just felt a bit cleaner and it allows us to change the ID to newtype later and we can just use a hasher that returns the underlying integer.
2024-06-01Move state trackig of diagnostic clearing inside `FlycheckActor`David Mládek-0/+27
2024-05-31minor: replace command-group with process-wrapHenry Chen-6/+12
Because command-group no longer receives updates and depends on an older version of nix.
2024-04-21Support flychecking for cargo scriptsLukas Wirth-3/+13
2024-04-21Allow rust files to be used linkedProjectsLukas Wirth-0/+773