pub fn collect_regions<T>(&self,
        value: &T,
        region_set: &mut FnvHashSet<ty::Region>)
        -> bool
        where T : TypeFoldable<'tcx>
    {
        let mut have_bound_regions = false;
        self.fold_regions(value, &mut have_bound_regions,
                          |r, d| { region_set.insert(r.from_depth(d)); r });
        have_bound_regions
    }
/// Collects the free and escaping regions in `value` into `region_set`. Returns
/// whether any late-bound regions were skipped
Collects the free and escaping regions in `value` into `region_set`. Returns
whether any late-bound regions were skipped
Collects the free and escaping regions in ` value ` into ` region_set ` . Returns whether any late - bound regions were skipped
pub fn collect_regions<T>(&self,
        value: &T,
        region_set: &mut FnvHashSet<ty::Region>)
        -> bool
        where T : TypeFoldable<'tcx>
    {
        let mut have_bound_regions = false;
        self.fold_regions(value, &mut have_bound_regions,
                          |r, d| { region_set.insert(r.from_depth(d)); r });
        have_bound_regions
    }
pub fn collect_regions < T > ( & self , value : & T , region_set : & mut FnvHashSet < ty :: Region > ) -> bool where T : TypeFoldable < ' tcx > { let mut have_bound_regions = false ; self . fold_regions ( value , & mut have_bound_regions , | r , d | { region_set . insert ( r . from_depth ( d ) ) ; r } ) ; have_bound_regions }
Collects the free and escaping regions in `value` into `region_set`.
Collects the free and escaping regions in ` value ` into ` region_set ` .
&self
value
&T
region_set
&mut FnvHashSet<ty::Region>