about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/errors.rs
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-03-22 13:23:04 +1100
committerZalathar <Zalathar@users.noreply.github.com>2024-03-26 11:46:04 +1100
commit54116c8cae58f1d46f231fbeac5630a81b994a4c (patch)
tree6998d9daea1582c741df1f45958e3347a78043c6 /compiler/rustc_pattern_analysis/src/errors.rs
parente3f66b24933356e5bda6a7161ab92706cd015dea (diff)
downloadrust-54116c8cae58f1d46f231fbeac5630a81b994a4c.tar.gz
rust-54116c8cae58f1d46f231fbeac5630a81b994a4c.zip
coverage: Detect functions that have lost all their coverage statements
If a function was instrumented for coverage, but all of its coverage statements
have been removed by later MIR transforms, it should be treated as "unused"
even if the compiler generates an unreachable stub for it.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions