pub fn scan_severities(base_line: u32, text: &str) -> Vec<(u32, ErrorSeverity)>Expand description
CM.3c: scan a block of streamed text for severity lines, returning
(absolute_line, severity) for each match. base_line is the 0-based
buffer line number the block’s FIRST line lands on; line i of the
block (via str::lines) maps to absolute line base_line + i.