about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-01-09 15:20:34 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-01-11 07:56:20 +1100
commitdd61eba3c381d190572edac7952ee1dc91b9c6d4 (patch)
tree48ea7b86862549cd814017020566ec84e7fc626a /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
parent56c3265c7b2e995f5518bc2554a6018678d273a6 (diff)
downloadrust-dd61eba3c381d190572edac7952ee1dc91b9c6d4.tar.gz
rust-dd61eba3c381d190572edac7952ee1dc91b9c6d4.zip
Simplify lint error counting.
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`.)
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions