lint_err_count
DiagCtxt::reset_err_count
It's missing but should obviously be included.
rustc_*/Cargo.toml