(block: &Block)
| 2656 | } |
| 2657 | |
| 2658 | fn is_exit_without_lineno(block: &Block) -> bool { |
| 2659 | let Some(first) = block.instructions.first() else { |
| 2660 | return false; |
| 2661 | }; |
| 2662 | let Some(last) = block.instructions.last() else { |
| 2663 | return false; |
| 2664 | }; |
| 2665 | !instruction_has_lineno(first) && last.instr.is_scope_exit() |
| 2666 | } |
| 2667 | |
| 2668 | fn maybe_propagate_location( |
| 2669 | instr: &mut InstructionInfo, |
no test coverage detected