Skip to main content

measure_line_exempt_rust

Function measure_line_exempt_rust 

Source
pub fn measure_line_exempt_rust(
    root: &Path,
    thresholds: RustThresholds,
    ignore: &[String],
    exempt_lines: &BTreeMap<String, BTreeSet<u32>>,
) -> Result<Outcome>
Expand description

Rust twin of measure_line_exempt (#226): the cargo llvm-cov regions/lines metrics measured over every measured line except the exempt_lines. ignore is the whole-file coverage exemptions, as in crate::coverage::measure_rust. Requires cargo-llvm-cov.