1
Fork 0
rust/compiler/rustc_mir_build/src/build
bors b2c20b51ed 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`
2021-04-20 03:08:24 +00:00
..
expr fix few typos 2021-04-19 15:57:08 +03:00
matches Fix diagnostic issue when using FakeReads in closures 2021-04-02 19:11:50 -04:00
block.rs Use the correct FakeReadCause 2021-03-14 19:28:57 -04:00
cfg.rs Reduce size of statements 2021-04-02 19:11:50 -04:00
misc.rs Prepare mir::Constant for ty::Const only supporting valtrees 2021-03-12 12:43:54 +00:00
mod.rs move new c abi abort behavior behind feature gate 2021-04-13 09:55:21 -04:00
scope.rs Only generate dummy assign when instrumenting coverage 2021-04-18 12:09:14 -07:00