Function stable_mir::mir::visit::terminator_location

source ยท
pub fn terminator_location(body: &Body, bb_idx: &BasicBlockIdx) -> Location
Expand description

Location of the terminator for a given basic block. Assumes that bb_idx is valid for a given body.