paralegal_flow::ana::graph_converter

Function expect_stmt_at

Source
fn expect_stmt_at<'tcx>(
    body_cache: &BodyCache<'tcx>,
    loc: GlobalLocation,
) -> Either<&'tcx Statement<'tcx>, &'tcx Terminator<'tcx>>
Expand description

Find the statement at this location or fail.