rustc-dev-guide
rustc-dev-guide copied to clipboard
Document interaction between incremental compilation and diagnostics
The incremental compilation infrastructure has special handling for diagnostics - we capture any diagnostics emitted during query execution, and then re-emit them if the result is loaded from disk.
We should document this handling in the chapter on incremental compilation.