coverage: Branch coverage support for let-else and if-let by Zalathar · Pull Request #124223 · rust-lang/rust

@rustbot added S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

T-compiler

Relevant to the compiler team, which will review and decide on the PR/issue.

A-code-coverage

Area: Source-based code coverage (-Cinstrument-coverage)

labels

Apr 21, 2024

@Zalathar Zalathar marked this pull request as ready for review

April 29, 2024 03:27

compiler-errors

@Zalathar

@Zalathar

compiler-errors

@bors bors added S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

and removed S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

labels

May 7, 2024

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

May 7, 2024
…er-errors

coverage: Branch coverage support for let-else and if-let

This PR adds branch coverage instrumentation for let-else and if-let, including let-chains.

This lifts two of the limitations listed at rust-lang#124118.

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

May 7, 2024
…er-errors

coverage: Branch coverage support for let-else and if-let

This PR adds branch coverage instrumentation for let-else and if-let, including let-chains.

This lifts two of the limitations listed at rust-lang#124118.

bors added a commit to rust-lang-ci/rust that referenced this pull request

May 7, 2024
…iaskrgr

Rollup of 3 pull requests

Successful merges:

 - rust-lang#124223 (coverage: Branch coverage support for let-else and if-let)
 - rust-lang#124571 (coverage: Clean up `mcdc_bitmap_bytes` and `conditions_num`)
 - rust-lang#124838 (next_power_of_two: add a doctest to show what happens on 0)

r? `@ghost`
`@rustbot` modify labels: rollup

@bors bors mentioned this pull request

May 8, 2024