rust-analyzer keeps whitespace, represents incomplete programs, and shares unchanged immutable syntax subtrees. See a real broken-code parse and the green/red tree split.
rust-analyzer models IDE answers as queries over changing inputs. Trace how dependencies let a small edit preserve unrelated parsing and semantic work.
Cargo build scripts are cached from declared file and environment inputs. Use rerun-if rules, verbose evidence, and a rebuild matrix to remove accidental rebuilds.