diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-04-19 22:57:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-19 22:57:41 +0200 |
| commit | 113f079a97ac3a1ab2fabbae274508cbcb248060 (patch) | |
| tree | 239552716749204aa78f16dba1610c864ce10ddd /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | a0ba15bfab46c987f910449f44ad8db9cdd0cea7 (diff) | |
| parent | 657ae03f603f137364bcbe97a17fc8cef3b18642 (diff) | |
| download | rust-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
