mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-05 11:47:13 +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 `()`.