Function rustc_trans::middle::ty::erase_late_bound_regionsExperimental [-]  [+] [src]

pub fn erase_late_bound_regions<'tcx, HR: HigherRankedFoldable<'tcx>>(tcx: &ctxt<'tcx>, value: &HR) -> HR

Replace any late-bound regions bound in value with 'static. Useful in trans but also method lookup and a few other places where precise region relationships are not required.