Update: after 2 days of replacing my “cargo build” shortcut with “cargo check”, I never saw an error that check didn’t catch.
Granted, most of my build/edit loop consists of attempting to build not-working-yet code anyway, so build was typically halted due to errors before linking happened in the first place, so in practice I don’t think it’s saved me that much time… but in the few cases where everything does build, it’s nice to not have to wait those extra few seconds for the green check (I’m using RustRover for the record.)
> Some diagnostics and errors are only emitted during code generation, so they inherently won’t be reported with cargo check.
I’ll have to see how much this affects my work loop but it’s definitely worth trying.