]> git.lizzy.rs Git - rust.git/commit
Auto merge of #84295 - richkadel:continue-coverage, r=tmandry
authorbors <bors@rust-lang.org>
Tue, 20 Apr 2021 03:08:24 +0000 (03:08 +0000)
committerbors <bors@rust-lang.org>
Tue, 20 Apr 2021 03:08:24 +0000 (03:08 +0000)
commitb2c20b51ed838368d3f2bdccb63f401bcddb7e1c
treeb0af4165f7549a3915410a8d8e52587a7e8bf948
parente888a57da83fca78d6e64af0a347d06d9161affe
parentd1d7fb1ae53a02f5073a7cf0ab1497aaa9617ebe
Auto merge of #84295 - richkadel:continue-coverage, r=tmandry

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.

r? `@tmandry`
cc: `@wesleywiser`