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

pub fn erase_late_bound_regions<HR: HigherRankedFoldable>(tcx: &ctxt, 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.