[][src]Function c2rust_refactor::mark_adjust::find_field_uses_command

pub fn find_field_uses_command(
    st: &CommandState,
    cx: &RefactorCtxt,
    field: &str,
    label: &str
)

mark_field_uses Command

Obsolete - use select with match_expr!(typed!(::TheStruct).field) instead

Usage: mark_field_uses FIELD MARK

Marks: reads MARK; sets/clears MARK

For every struct definition bearing MARK, apply MARK to expressions that use FIELD of that struct. Removes MARK from the original struct.