Function stable_mir::mir::visit::statement_location

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

Location of the statement at the given index for a given basic block. Assumes that stmt_idx and bb_idx are valid for a given body.