pub fn erase_late_bound_regions<T>(&self, value: &Binder<T>) -> T
        where T : TypeFoldable<'tcx>
    {
        self.replace_late_bound_regions(value, |_| ty::ReStatic).0
    }
/// 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.
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.
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 .
pub fn erase_late_bound_regions<T>(&self, value: &Binder<T>) -> T
        where T : TypeFoldable<'tcx>
    {
        self.replace_late_bound_regions(value, |_| ty::ReStatic).0
    }
pub fn erase_late_bound_regions < T > ( & self , value : & Binder < T > ) -> T where T : TypeFoldable < ' tcx > { self . replace_late_bound_regions ( value , | _ | ty :: ReStatic ) . 0 }
Replace any late-bound regions bound in `value` with `'static`.
Replace any late - bound regions bound in ` value ` with ` ' static ` .
&self
value
&Binder<T>