cairo_lang_lowering::borrow_check

Function borrow_check

source
pub fn borrow_check(
    db: &dyn LoweringGroup,
    is_panic_destruct_fn: bool,
    lowered: &mut FlatLowered,
) -> PotentialDestructCalls
Expand description

Report borrow checking diagnostics. Returns the potential destruct function calls per block.