about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/mod.rs
diff options
context:
space:
mode:
authorRich Kadel <richkadel@google.com>2021-04-18 02:55:17 -0700
committerRich Kadel <richkadel@google.com>2021-04-18 03:11:25 -0700
commit448e52d97c9b76600fd1ec29c8159391329e48ab (patch)
tree979d49e603e385ebac68fefe74de006e893411c4 /compiler/rustc_mir/src/transform/coverage/mod.rs
parent83ca4b7e600241850e61be48dee859f1604de50d (diff)
downloadrust-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