[][src]Function c2rust_refactor::mark_adjust::find_arg_uses_command

pub fn find_arg_uses_command(
    st: &CommandState,
    cx: &RefactorCtxt,
    arg_idx: usize,
    label: &str
)

mark_arg_uses Command

Usage: mark_arg_uses ARG_IDX MARK

Marks: reads MARK; sets/clears MARK

For every fn definition bearing MARK, apply MARK to expressions passed in as argument ARG_IDX in calls to that function. Removes MARK from the original function.