about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-04-19 22:57:41 +0200
committerGitHub <noreply@github.com>2022-04-19 22:57:41 +0200
commit113f079a97ac3a1ab2fabbae274508cbcb248060 (patch)
tree239552716749204aa78f16dba1610c864ce10ddd /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parenta0ba15bfab46c987f910449f44ad8db9cdd0cea7 (diff)
parent657ae03f603f137364bcbe97a17fc8cef3b18642 (diff)
downloadrust-113f079a97ac3a1ab2fabbae274508cbcb248060.tar.gz
rust-113f079a97ac3a1ab2fabbae274508cbcb248060.zip
Rollup merge of #96029 - IsakNyberg:error-messages-fix, r=Dylan-DPC
Refactor loop into iterator; simplify negation logic.

is_dummy should return when a non-dummy is found, but instead is iterated until completion. With some inspiration from line 323 this was refactored to a single line that returns once a single counterexample is found.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions