about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorksaleem <ksaleem@digitalocean.com>2023-01-29 13:48:06 -0500
committerksaleem <ksaleem@digitalocean.com>2023-01-29 17:35:36 -0500
commit2fd94a4e01d9e8049df3651d0b29b3964cf235d8 (patch)
treeb16eb1cef4148a3cd450f50e105d9d25c9fb11a1 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent96c28d1f69a120de7fcdbc40fb17610a407a4900 (diff)
downloadrust-2fd94a4e01d9e8049df3651d0b29b3964cf235d8.tar.gz
rust-2fd94a4e01d9e8049df3651d0b29b3964cf235d8.zip
prevents `len_without_is_empty` from yielding positive when `len` takes
more than just `&self` in non-standard implementations.

changelog: Fix [`len_without_is_empty`] false positive when len has a
non-standard method signature

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