diff options
| author | Rich Kadel <richkadel@google.com> | 2021-04-18 02:55:17 -0700 |
|---|---|---|
| committer | Rich Kadel <richkadel@google.com> | 2021-04-18 03:11:25 -0700 |
| commit | 448e52d97c9b76600fd1ec29c8159391329e48ab (patch) | |
| tree | 979d49e603e385ebac68fefe74de006e893411c4 /compiler/rustc_mir/src/transform/coverage/mod.rs | |
| parent | 83ca4b7e600241850e61be48dee859f1604de50d (diff) | |
| download | rust-448e52d97c9b76600fd1ec29c8159391329e48ab.tar.gz rust-448e52d97c9b76600fd1ec29c8159391329e48ab.zip | |
Add coverage to continue statements
`continue` statements were missing coverage. This was particularly noticeable in a match pattern that contained only a `continue` statement, leaving the branch appear uncounted. This PR addresses the problem and adds tests to prove it.
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions
