(
instr: &mut InstructionInfo,
location: SourceLocation,
end_location: SourceLocation,
)
| 2666 | } |
| 2667 | |
| 2668 | fn maybe_propagate_location( |
| 2669 | instr: &mut InstructionInfo, |
| 2670 | location: SourceLocation, |
| 2671 | end_location: SourceLocation, |
| 2672 | ) { |
| 2673 | if !instruction_has_lineno(instr) { |
| 2674 | instr.location = location; |
| 2675 | instr.end_location = end_location; |
| 2676 | instr.lineno_override = None; |
| 2677 | } |
| 2678 | } |
| 2679 | |
| 2680 | fn propagate_locations_in_block( |
| 2681 | block: &mut Block, |
no test coverage detected