Function rustc_lint::middle::ty::replace_late_bound_regionsUnstable [-] [+] [src]

pub fn replace_late_bound_regions<'tcx, T, F>(tcx: &ctxt<'tcx>, binder: &Binder<T>, mapf: F) -> (T, HashMap<BoundRegion, Region, DefaultState<FnvHasher>>) where T: TypeFoldable<'tcx> + Repr<'tcx>, F: FnMut(BoundRegion) -> Region

Replaces the late-bound-regions in value that are bound by value.