Skip to main content

increment_source_and_step

Function increment_source_and_step 

Source
fn increment_source_and_step<'tcx>(
    tcx: TyCtxt<'tcx>,
    def_id: DefId,
    rvalue: &Rvalue<'tcx>,
) -> Option<(Local, i128)>
Expand description

Extract local +/- const from an arithmetic rvalue.