[][src]Function c2rust_refactor::path_edit::fold_resolved_paths_with_id

pub fn fold_resolved_paths_with_id<T, F>(
    target: &mut T,
    cx: &RefactorCtxt,
    callback: F
) where
    T: MutVisit,
    F: FnMut(NodeId, Option<QSelf>, Path, &Def) -> (Option<QSelf>, Path)

Like fold_resolved_paths, but also passes the NodeId of the AST node containing the path. (Paths don't have NodeIds of their own.)