rustc_infer::infer::canonical::ir::fold

Function fold_regions

Source
pub fn fold_regions<I, T>(
    cx: I,
    value: T,
    f: impl FnMut(<I as Interner>::Region, DebruijnIndex) -> <I as Interner>::Region,
) -> T
where I: Interner, T: TypeFoldable<I>,