Struct rustc::middle::ty_fold::RegionFolder[src]
pub struct RegionFolder<'a> {
// some fields omitted
}Folds over the substructure of a type, visiting its component types and all regions that occur free within it.
That is, ty::t can contain function or method types that bind
regions at the call site (ReLateBound), and occurrences of
regions (aka "lifetimes") that are bound within a type are not
visited by this folder; only regions that occur free will be
visited by fld_r.
(The distinction between "free" and "bound" is represented by
keeping track of each FnSig in the lexical context of the
current position of the fold.)