mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 18:40:57 +03:00
dd61eba3c3
Of the error levels satisfying `is_error`, `Level::Error` is the only one that can be a lint, so there's no need to check for it. (And even if it wasn't, it would make more sense to include non-`Error`-but-`is_error` lints under `lint_err_count` than under `err_count`.)