Re:Rust Compile Times and Code Graphs
by trealira on Saturday October 14, 2023 @04:01PM
(#37883777)
Yeah, and cargo check exists for that very reason. It does type checking without actually compiling the code. Rust-analyzer, the LSP server for Rust, runs `cargo check` whenever the file is saved, IIRC, and then shows you what the compiler said.
Compiling to see if you have syntax errors? What do you not have an editor?