about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-10-29 15:12:24 +0000
committerbors <bors@rust-lang.org>2020-10-29 15:12:24 +0000
commite1a284555854f9aba4e22061ebb5981ad333b107 (patch)
tree2d07c55946227fde7e397833104984c3adad3451 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentee9da9a19404f71f59b1e55e6c49ff99cd9919d0 (diff)
parente3de544c22feb01437a060e88249652c103cb612 (diff)
downloadrust-e1a284555854f9aba4e22061ebb5981ad333b107.tar.gz
rust-e1a284555854f9aba4e22061ebb5981ad333b107.zip
Auto merge of #6226 - Urcra:master, r=flip1995
Add lint for comparing to empty slices instead of using .is_empty()

Hey first time making a clippy lint

I added the implementation of the lint the `len_zero` since it shared a lot of the code, I would otherwise have to rewrite. Just tell me if the lint should use it's own file instead

changelog: Add lint for comparing to empty slices

Fixes #6217
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions