mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-20 03:06:21 +00:00
When we try to extract coverage-relevant spans from MIR, sometimes we see MIR statements/terminators whose spans cover the entire function body. Those spans tend to be unhelpful for coverage purposes, because they often represent compiler-inserted code, e.g. the implicit return value of `()`.