about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-07-27 00:31:20 +0000
committerbors <bors@rust-lang.org>2021-07-27 00:31:20 +0000
commitc51607e0310c7ea19b093bc5cc92b296433eb5b1 (patch)
tree7b9819dc773e96e50ccfef7a01ae540053edc777 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent8bebfe5cc2db1603be0d4ad79ad17d48e3b20e54 (diff)
parentcd04731d3a6d86f4f9bfb2ff8fa6bf0179a379f8 (diff)
downloadrust-c51607e0310c7ea19b093bc5cc92b296433eb5b1.tar.gz
rust-c51607e0310c7ea19b093bc5cc92b296433eb5b1.zip
Auto merge of #87062 - poliorcetics:fix-85462, r=dtolnay
Make StrSearcher behave correctly on empty needle

Fix #85462.

This will not affect ABI since the other variant of the enum is bigger.
It may break some code, but that would be very strange: usually people
don't continue after the first `Done` (or `None` for a normal iterator).

`@rustbot` label T-libs A-str A-patterns
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions