fn find_component_for_bound_region(
        &self,
        arg: &'gcx hir::Ty,
        br: &ty::BoundRegion,
    ) -> Option<(&'gcx hir::Ty)> {
        let mut nested_visitor = FindNestedTypeVisitor {
            tcx: self.tcx,
            bound_region: *br,
            found_type: None,
            current_index: ty::INNERMOST,
        };
        nested_visitor.visit_ty(arg);
        nested_visitor.found_type
    }
// This method creates a FindNestedTypeVisitor which returns the type corresponding
// to the anonymous region.
This method creates a FindNestedTypeVisitor which returns the type corresponding
to the anonymous region.
This method creates a FindNestedTypeVisitor which returns the type corresponding to the anonymous region .
fn find_component_for_bound_region(
        &self,
        arg: &'gcx hir::Ty,
        br: &ty::BoundRegion,
    ) -> Option<(&'gcx hir::Ty)> {
        let mut nested_visitor = FindNestedTypeVisitor {
            tcx: self.tcx,
            bound_region: *br,
            found_type: None,
            current_index: ty::INNERMOST,
        };
        nested_visitor.visit_ty(arg);
        nested_visitor.found_type
    }
fn find_component_for_bound_region ( & self , arg : & ' gcx hir :: Ty , br : & ty :: BoundRegion , ) -> Option < ( & ' gcx hir :: Ty ) > { let mut nested_visitor = FindNestedTypeVisitor { tcx : self . tcx , bound_region : * br , found_type : None , current_index : ty :: INNERMOST , } ; nested_visitor . visit_ty ( arg ) ; nested_visitor . found_type }
This method creates a FindNestedTypeVisitor which returns the type corresponding
to the anonymous region.
This method creates a FindNestedTypeVisitor which returns the type corresponding to the anonymous region .
&self
arg
&'gcx hir::Ty
br
&ty::BoundRegion
&self
arg
&'gcx hir::Ty
br
&ty::BoundRegion