abort.main - Coverage Spans

@0⦊fn main() -> Result<(), u8> { let mut countdown = 10⦉@0; while @1,2⦊countdown > 0⦉@1,2 { if @3,5⦊countdown < 5⦉@3,5 @6,8,9⦊{ might_abort(false); }⦉@6,8,9@7⦊‸⦉@7 // See discussion (below the `Notes` section) on coverage results for the closing brace. if @10⦊countdown < 5⦉@10 @11,13,14⦊{ might_abort(false); }⦉@11,13,14@12⦊‸⦉@12 // Counts for different regions on one line. // For the following example, the closing brace is the last character on the line. // This shows the character after the closing brace is highlighted, even if that next // character is a newline. if @15⦊countdown < 5⦉@15 @16,18,19⦊{ might_abort(false); }⦉@16,18,19@17⦊‸⦉@17 @20,21⦊countdown -= 1⦉@20,21; } @4⦊Ok(()) }⦉@4